-
I have a method in .NET8 (windows, not R2R) that is compiled as (using DOTNET_JitDisasm):
Regardless, if I invoke it thousands of times, I do not see a Tier 1 compilation created for it (and this is the only method I have in my solution. Is there a way to gain understanding why there is no Tier 1 compilation happening? Applying the Is there a way to force tier 1 compilation of a method? I wonder because I wonder what happens when I use this method in a real production app. Is it not ever going to have a tier 1 code? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Tiered compilation kicks in when the method is called often enough and after a period of time where no JIT-compilations happens (to settle a starting phase, etc.). So when you just call the method at app entry the thousands time the second criteria (time) isn't fulfilled.
Does you code contain loops? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Can you try with?