Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JIT: remove is rare check from finally cloning #110483

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

AndyAyersMS
Copy link
Member

There are currently few rarely run finallys, so stop checking for them. Future changes may introduce some, and cloning them can be beneficial to nearby hot code.

There are currently few rarely run finallys, so stop checking for them.
Future changes may introduce some, and cloning them can be beneficial
to nearby hot code.
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Dec 6, 2024
@AndyAyersMS
Copy link
Member Author

@amanasifkhalid PTAL
cc @dotnet/jit-contrib

No SPMI diffs (at least win x64). Will be useful for de-abstraction work.

Copy link
Contributor

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

JITDUMP("Finally in EH#%u is run rarely; skipping.\n", XTnum);
continue;
}

// Empirical studies from CoreCLR and CoreFX show that less
Copy link
Member

Choose a reason for hiding this comment

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

Unrelated to this PR, but it might be interesting to revisit comments like these by looking at some JIT metrics.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, that is on my todo list ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants