OSR method may require kept-alive this in cases where base method didn't #47532
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone
A couple examples in the OSR stress weekend experimental runs.
Because of inlining the reporting of
this
for generic contexts is needed in an OSR method, but not in the base method. This violates an assumption that both methods would agree on this aspect.runtime/src/coreclr/jit/lclvars.cpp
Lines 6193 to 6204 in ca7f199
Should not be too hard to report the kept-alive this in the OSR method on it's part of the frame. Looks like
CodeGen::genReportGenericContextArg
might just work for OSR frames, though that needs to be verified.category:correctness
theme:osr
skill-level:intermediate
cost:small
impact:small
The text was updated successfully, but these errors were encountered: