Skip to content

(v0.51.0) JIT Monitor enter support for Yielding pinned VirtualThread JEP491 #21363

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

Merged
merged 1 commit into from
Mar 18, 2025

Conversation

fengxue-IS
Copy link
Contributor

@fengxue-IS fengxue-IS commented Mar 17, 2025

back port of #21334

- Add new JIT to Interpreter transition on monitor entry
- Add preparePinnedVirtualThreadForUnmount to internal functions
- Move Continuation.blocker reset to enterContinuationImpl
- Update preparePinnedVirtualThreadForMount/Unmount to use stackwalk
  when finding entered monitors and cache them in a linked list stored
  in the J9VMContinuation struct.
- Add new code path to jitGetOwnedObjectMonitors to support vthread yield.

Co-authored-by: Graham Chapman <[email protected]>
Signed-off-by: Jack Lu <[email protected]>
@fengxue-IS fengxue-IS requested a review from tajila March 17, 2025 19:54
@fengxue-IS fengxue-IS marked this pull request as ready for review March 17, 2025 19:54
@tajila tajila merged commit d805920 into eclipse-openj9:v0.51.0-release Mar 18, 2025
2 checks passed
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