Skip to content

Comments

Add support for OSR jitted code#1584

Merged
brianrob merged 1 commit intomicrosoft:mainfrom
AndyAyersMS:OnStackReplacementInfo
Mar 10, 2022
Merged

Add support for OSR jitted code#1584
brianrob merged 1 commit intomicrosoft:mainfrom
AndyAyersMS:OnStackReplacementInfo

Conversation

@AndyAyersMS
Copy link
Member

Parser support for OSR.

OSR methods jit on foreground threads.

Parser support for OSR.

OSR methods jit on foreground threads.
@AndyAyersMS
Copy link
Member Author

We have been setting the proper info in the ETW records for quite a while now. But OSR has always been an experimental feature, so I never bothered to update any tooling.

Now we're getting close to enabling it by default for some architectures. Methods jitted this way should start showing up in .NET 7 Preview 3 or 4.

Without this change, OSR methods show up as "ReadyToRun" in tiering annotated views, and mess up the jit stats report.

@AndyAyersMS
Copy link
Member Author

@kouvel can you PTAL -- I think you added the tiering aware views.
cc @brianrob

Copy link
Member

@brianrob brianrob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants