Skip to content

Comments

JIT: fix osr gc info this reporting#51057

Merged
AndyAyersMS merged 1 commit intodotnet:mainfrom
AndyAyersMS:OsrGenericContextFix
Apr 11, 2021
Merged

JIT: fix osr gc info this reporting#51057
AndyAyersMS merged 1 commit intodotnet:mainfrom
AndyAyersMS:OsrGenericContextFix

Conversation

@AndyAyersMS
Copy link
Member

With the advent of #38229 an optimized method may need to report generics
context via this while the un-optimzed version did not need to report.

This impacts OSR, which previously was always trying to use the unoptimized
root method frame reporting. Now under OSR we must sometimes add a slot to
the OSR frame instead.

Addresses one of the failure cases in #43534.

With the advent of dotnet#38229 an optimized method may need to report generics
context via `this` while the un-optimzed version did not need to report.

This impacts OSR, which previously was always trying to use the unoptimized
root method frame reporting. Now under OSR we must sometimes add a slot to
the OSR frame instead.

Addresses one of the failure cases in dotnet#43534.
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 10, 2021
@AndyAyersMS
Copy link
Member Author

cc @dotnet/jit-contrib

@AndyAyersMS AndyAyersMS merged commit 125253b into dotnet:main Apr 11, 2021
@AndyAyersMS AndyAyersMS deleted the OsrGenericContextFix branch April 11, 2021 01:03
@JulieLeeMSFT JulieLeeMSFT added this to the 6.0.0 milestone Apr 15, 2021
@ghost ghost locked as resolved and limited conversation to collaborators May 15, 2021
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.

3 participants