-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mono][jit] Emit a null check when storing to valuetype fields. #82663
Conversation
Still needs a regression test. |
3e2401c
to
3149a6d
Compare
The new test seems to crash on the clr ?
|
ping @mangod9 seems like there's two issues uncovered by the new test:
|
Is this a consistent failure on linux x64 Debug builds? Adding @janvorli since we had fixed something similar in 7. |
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak Issue DetailsFixes #82535.
|
72080c6
to
03f8a97
Compare
/azp run runtime |
Azure Pipelines successfully started running 1 pipeline(s). |
03f8a97
to
bba19c0
Compare
bba19c0
to
e9adfde
Compare
e9adfde
to
917feae
Compare
@@ -66,6 +66,9 @@ | |||
<ExcludeList Include="$(XunitTestBinBase)/GC/Regressions/Github/Runtime_76219/Runtime_76219/*"> | |||
<Issue>https://github.com/dotnet/runtime/issues/78899</Issue> | |||
</ExcludeList> | |||
<ExcludeList Include="$(XunitTestBinBase)/JIT/Regression/JitBlue/Runtime_82535/*"> | |||
<Issue>https://github.com/dotnet/runtime/pull/82663</Issue> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will make one.
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<Optimize>True</Optimize> | ||
<RequiresProcessIsolation>true</RequiresProcessIsolation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this require process isolation? RequiresProcessIsolation
adds extra costs that the JIT team is actively working on reducing right now. Throwing and catching a nullref doesn't sounds like something that would need it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It caused a process crash on CI, which doesn't seem to happen any more.
Fixes #82535.