-
Notifications
You must be signed in to change notification settings - Fork 738
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
Refactor virtual thread inspector access #19076
Refactor virtual thread inspector access #19076
Conversation
278231f
to
e6752fa
Compare
81e2f65
to
d2b40f4
Compare
personal build in progress |
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.
first review pass.
81a5e10
to
389129f
Compare
answered questions related to code change, updated code to use constant flags and common API as suggested. @babsingh can you take another look please |
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.
Thanks for addressing the previous comments. The changes LGTM functionally.
re #18735 (comment): In addition to SuspendResume2.java
, did you also run a grinder with SelfSuspendDisablerTest.java
?
389129f
to
6d82a47
Compare
No, I will launch a grinder once the new review comments have been addressed. |
7046eb2
to
02c7b29
Compare
squashed commits, updated PR description |
jenkins test sanity.functional,extended.functional win,plinux jdk8,jdk11 |
jenkins test sanity.functional,extended.functional,sanity.openjdk,extended.openjdk zlinux,win,aix jdk21 |
jenkins test extended.functional,sanity.openjdk,extended.openjdk alinux jdk22 |
jenkins test sanity.functional,extended.functional,sanity.openjdk,extended.openjdk aix jdk21 |
PR builds:
The Windows PR builds failed due to infra issues. I didn't see any functional failures in them. An unrelated and known failure is seen in the AIX extended.openjdk build:
@keithc-ca Do you have any feedback for this PR? |
Updated code to address review comments |
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.
Please reformat the commit message(s) so no lines in the body are longer than 72 characters. Before merging, I expect this should be squashed - feel free to do that now.
ddb058c
to
392bf5e
Compare
392bf5e
to
ff6c3d8
Compare
- Fix getVMThread API to account for suspended virtual thread under transition - Refactor acquire/releaseVThreadInspector to handle suspended transition cases - Add wait loop in exitTransition, link J9VMThread to vthread object during transition - Introduce constant flags and common helper API - Convert jvmti API c file to cpp jvmtiForceEarlyReturn.c -> .cpp jvmtiLocalVariable.c -> .cpp jvmtiStackFrame.c -> .cpp Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
ff6c3d8
to
4161c8c
Compare
jenkins compile plinux jdk8 |
jenkins compile win jdk11 |
jenkins test extended.openjdk aix jdk21 |
jenkins test extended.openjdk alinux jdk22 |
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.
LGTM. Known ImageWriterCompressionTest
and DatagramChannel
failures are seen in the extended.openjdk
PR builds, which are unrelated to this PR.
@pshipton Shall we backport this change to https://github.com/eclipse-openj9/openj9/tree/v0.44.0-release? |
I'm open to it, if the testing today/tonight goes well. It seems there is little risk to any versions other than 21, 22, and mainly virtual threads are affected. |
Pls go ahead with the backport. |
jvmtiForceEarlyReturn.c -> .cpp
jvmtiLocalVariable.c -> .cpp
jvmtiStackFrame.c -> .cpp
Fix: #18504
Signed-off-by: Jack Lu Jack.S.Lu@ibm.com