JIT: Devirtualization: "this" should always have exact/final class. #50420
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
tenet-performance
Performance related issue
untriaged
New issue has not been triaged by the area owner
Milestone
Contributes to #7541
Current codegen for
Test
:Expected codegen for
Test
:From jitdump:
In this case it should not matter if
C
is sealed or not -this
should mean the class is exact and Dispose method should be devirtualized (inlined as a no-op).The text was updated successfully, but these errors were encountered: