forked from eclipse-openj9/openj9
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update jvmtiGetOrSetLocal and jvmtiNotifyFramePop for virtual threads
Adds virtual thread support for GetOrSetLocal and NotifyFramePop As walkState->walkThread will be used by some jit functions after stackwalk, we can't use walkContinuationStackFrames which will cause dangling pointer. Instead we need to stack-allocate manually if a J9VMContinuation needs to be walked, so we created a helper getJ9VMContinuationToWalk to get the J9VMContinuation. Also fix coding style of surrounding code Issues: eclipse-openj9#15759 eclipse-openj9#15183 Co-authored-by: Babneet Singh <sbabneet@ca.ibm.com> Signed-off-by: Gengchen Tuo <gengchen.tuo@ibm.com>
- Loading branch information
Showing
2 changed files
with
99 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters