Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow rejit on attach #19054
@AndyAyersMS this will enable jump stamps by default, but since @noahfalk recently enabled tiered jitting by default my reasoning was this should have minimal impact. The only way you'll end up with tiered jitting disabled and rejit on is if the user explicitly opts out of tiered jitting.
We could have disabling tiered jitting also disable rejit on attach if this is a concern, I'm not sure if it's better to have the somewhat unexpected behavior that disabling tiered jitting diasbles rejit on attach too, or if it's better to have the somewhat unexpected behavior that disabling tiered jitting doesn't fully disable versioned code.
I don't know the right answer, just that jump stamps increase the size of the code for small methods and there are a lot of small methods. Would be nice to know roughly how much size increase we're talking about here...
FYI @dotnet/jit-contrib this would impact pmi diffs as we's see jump stamp padding in methods (like we do now some prejitted cases).