Skip to content

Enable tiering for async versions#129985

Open
jakobbotsch wants to merge 1 commit into
dotnet:mainfrom
jakobbotsch:fix-115096
Open

Enable tiering for async versions#129985
jakobbotsch wants to merge 1 commit into
dotnet:mainfrom
jakobbotsch:fix-115096

Conversation

@jakobbotsch

Copy link
Copy Markdown
Member

Seems like this may be all that's needed.

Fix #115096

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @agocke
See info in area-owners.md if you want to be subscribed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates CoreCLR’s tiered compilation eligibility rules to allow runtime async “async version” methods to participate in tiering (and thus become candidates for tiered PGO), while continuing to exclude wrapper-thunk async methods that are not supported.

Changes:

  • Relaxed the tiering exclusion for async thunk methods to allow those that SupportsAsyncVersionCodegen().
  • Updated the in-code comment describing async tiering behavior (though the wording could be made more precise; see review comments).

Comment thread src/coreclr/vm/method.cpp
Comment thread src/coreclr/vm/method.cpp
@jakobbotsch jakobbotsch marked this pull request as ready for review June 30, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RuntimeAsync] PGO support.

3 participants