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

Support cold EH funclets in VM #1929

Merged
merged 1 commit into from
Jul 8, 2022

Conversation

amanasifkhalid
Copy link
Member

This PR closes out the remaining tasks in #1918 by adding support for hot/cold splitting of EH funclets in the VM. This support requires the following changes:

  • In ReadyToRunJitManager::JitCodeToMethodInfo, when searching the Scratch table for the corresponding hot MethodIndex of a given cold MethodIndex, we now handle MethodIndices of cold EH funclets that aren't in the table (i.e. when part of the main body is split).
  • ReadyToRunJitManager::IsFunclet now returns true for cold EH funclets that are in the Scratch table.

@amanasifkhalid amanasifkhalid requested a review from cshung July 7, 2022 21:34
@amanasifkhalid
Copy link
Member Author

Tagging @BruceForstall

@cshung cshung merged commit b3ce055 into dotnet:feature/hot-cold-splitting Jul 8, 2022
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.

2 participants