-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Enable thread abort support in the interpreter #121446
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
Enable thread abort support in the interpreter #121446
Conversation
This change adds check for thread abort to the INTOP_SAFEPOINT and also to the code resuming after catch. This makes all the libraries controlled execution tests pass.
|
Tagging subscribers to this area: @BrzVlad, @janvorli, @kg |
There was a problem hiding this comment.
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 adds thread abort handling to the interpreter execution loop in the CoreCLR VM. The changes ensure that thread abort requests are properly detected and handled at safe points during interpreter execution.
- Adds abort checking at INTOP_SAFEPOINT instruction to allow cooperative thread abort
- Adds abort handling after exception catch resumption to prevent continuing execution when abort is requested
|
/ba-g the android build timeout is unrelated and happens frequently |
This change adds check for thread abort to the INTOP_SAFEPOINT and also to the code resuming after catch. This makes all the libraries controlled execution tests pass.