Skip to content
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

Mitigation for #84446: comment out problematic JIT assertion check #84449

Merged
merged 1 commit into from
Apr 7, 2023

Conversation

trylek
Copy link
Member

@trylek trylek commented Apr 6, 2023

The most recent aggregated runtime MIBC optimization data contains a combination of block and edge counts, possibly after a change from January 2023 that switched MIBC logic over from using block counts to edge counts. The offending assertion check wasn't expecting it and started crashing Crossgen2 during compilation of System.Private.CoreLib on Windows x64 / arm. Based on Andy Ayers' advice I'm proposing to comment out the assertion check; I have created the tracking issue #84446 to follow up on consolidation of JIT and MIBC production logic in this respect.

Thanks

Tomas

/cc @dotnet/jit-contrib, @dotnet/crossgen-contrib

Expected to unblock PR: #83624

The most recent aggregated runtime MIBC optimization data contains
a combination of block and edge counts, possibly after a change
from January 2023 that switched MIBC logic over from using block
counts to edge counts. The offending assertion check wasn't expecting
it and started crashing Crossgen2 during compilation of
System.Private.CoreLib on Windows x64 / arm. Based on Andy Ayers'
advice I'm proposing to comment out the assertion check; I have
created the tracking issue dotnet#84446 to follow up on consolidation of
JIT and MIBC production logic in this respect.

Thanks

Tomas
@trylek trylek added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 6, 2023
@trylek trylek added this to the 8.0.0 milestone Apr 6, 2023
@trylek trylek requested a review from AndyAyersMS April 6, 2023 21:39
@ghost ghost assigned trylek Apr 6, 2023
@ghost
Copy link

ghost commented Apr 6, 2023

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak
See info in area-owners.md if you want to be subscribed.

Issue Details

The most recent aggregated runtime MIBC optimization data contains a combination of block and edge counts, possibly after a change from January 2023 that switched MIBC logic over from using block counts to edge counts. The offending assertion check wasn't expecting it and started crashing Crossgen2 during compilation of System.Private.CoreLib on Windows x64 / arm. Based on Andy Ayers' advice I'm proposing to comment out the assertion check; I have created the tracking issue #84446 to follow up on consolidation of JIT and MIBC production logic in this respect.

Thanks

Tomas

/cc @dotnet/jit-contrib, @dotnet/crossgen-contrib

Author: trylek
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: 8.0.0

@trylek
Copy link
Member Author

trylek commented Apr 6, 2023

Thanks Andy for the primary suggestion and for the approval, the [NO-MERGE] version of this PR has just passed SPC Crossgen2 compilation on Windows x64. I plan to merge this in tomorrow morning provided the lab run is clean unless I receive blocking feedback.

@trylek trylek merged commit 50c1214 into dotnet:main Apr 7, 2023
@trylek trylek deleted the 83624-JIT-assert branch April 7, 2023 07:53
@ghost ghost locked as resolved and limited conversation to collaborators May 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants