-
Notifications
You must be signed in to change notification settings - Fork 730
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
[JDK21] Support JvmtiMountTransition Annotation #17520
Comments
#16654 implements check for method entry and method exit events. Not sure if that suffices. |
No, #16654 only disables certain JVMTI events; it does not hide/skip method frames with the JvmtiMountTransition annotation. At some places, the RI skips the method frames with the JvmtiMountTransition annotation while stackwalking in the JVMTI. MethodExitTest, which is currently disabled, utilizes the hide frame feature. Related: #17490. |
Work done to support the JvmtiMountTransition annotation:
Pending task from #17855 (comment):
|
Java methods tagged with the JvmtiMountTransition annotation are involved in transitioning between carrier to virtual threads, and vice-versa. These methods are not part of the thread's scope. So, they should be skipped during introspection by all the relevant JVMTI functions. This commit covers the remaining JVMTI functions which need to skip methods tagged with the JvmtiMountTransition annotation. Fixes: eclipse-openj9#17520 Signed-off-by: Babneet Singh <[email protected]>
JvmtiMountTransition annotation's description:
The text was updated successfully, but these errors were encountered: