Jitter GC byref lifetime tracking missing a register #5505
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
blocking-release
bug
Milestone
The jitter misses tracking lifetime of the R15 register when jitting Microsoft.AspNetCore.Server.Kestrel.Http.SocketOutput:ProducingStart method, which leads to a GC hole. Here is a dump of the fragment of the jitted code with the lifetime annotation where it is visible that the R15 is not tracked and so if GC happens between the R15 assignment and the last instruction in the list below and the object pointed to by the initial RBX gets moved, the R15 is no longer valid.
The text was updated successfully, but these errors were encountered: