-
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
JDK21 serviceability_jvmti_j9_0_FAILED serviceability/jvmti/vthread/GetThreadState/GetThreadStateTest.java#default java timed out #18642
Labels
Milestone
Comments
@babsingh pls take a look |
This was referenced Dec 20, 2023
babsingh
added a commit
to babsingh/openj9
that referenced
this issue
Dec 20, 2023
VirtualThreads.park performs operations in the below order: Set VThreadInspector to -1 and then acquire vmThreadListMutex JVMTI GetThreadState -> ... -> getVMThread follows the below order: Acquire vmThreadListMutex and then spin until VThreadInspector != -1 A deadlock occurs because the order of operations is inconsistent between VirtualThreads.park and JVMTI GetThreadState. To resolve the deadlock, the operations in getVMThread are swapped to match the operations in VirtualThreads.park: Acquire VThreadInspector and then acquire vmThreadListMutex Related: eclipse-openj9#18642 Signed-off-by: Babneet Singh <[email protected]>
babsingh
added a commit
to babsingh/openj9
that referenced
this issue
Dec 20, 2023
RI and JTReg tests expect the same JVMTI thread state for - PARKED and PINNED - TIMED_PARKED and TIMED_PINNED Related: eclipse-openj9#18642 Signed-off-by: Babneet Singh <[email protected]>
babsingh
added a commit
to babsingh/openj9
that referenced
this issue
Dec 20, 2023
VirtualThreads.park performs operations in the below order: Set VThreadInspector to -1 and then acquire vmThreadListMutex JVMTI GetThreadState -> ... -> getVMThread follows the below order: Acquire vmThreadListMutex and then spin until VThreadInspector != -1 A deadlock occurs because the order of operations is inconsistent between VirtualThreads.park and JVMTI GetThreadState. To resolve the deadlock, the operations in getVMThread are swapped to match the operations in VirtualThreads.park: Acquire VThreadInspector and then acquire vmThreadListMutex Related: eclipse-openj9#18642 Signed-off-by: Babneet Singh <[email protected]>
babsingh
added a commit
to babsingh/openj9
that referenced
this issue
Dec 20, 2023
RI and JTReg tests expect the same JVMTI thread state for - PARKED and PINNED - TIMED_PARKED and TIMED_PINNED Related: eclipse-openj9#18642 Signed-off-by: Babneet Singh <[email protected]>
babsingh
added a commit
to babsingh/openj9
that referenced
this issue
Dec 20, 2023
VirtualThreads.park performs operations in the below order: Set VThreadInspector to -1 and then acquire vmThreadListMutex JVMTI GetThreadState -> ... -> getVMThread follows the below order: Acquire vmThreadListMutex and then spin until VThreadInspector != -1 A deadlock occurs because the order of operations is inconsistent between VirtualThreads.park and JVMTI GetThreadState. To resolve the deadlock, the operations in getVMThread are swapped to match the operations in VirtualThreads.park: Acquire VThreadInspector and then acquire vmThreadListMutex Related: eclipse-openj9#18642 Signed-off-by: Babneet Singh <[email protected]>
babsingh
added a commit
to babsingh/openj9
that referenced
this issue
Dec 20, 2023
RI and JTReg tests expect the same JVMTI thread state for - PARKED and PINNED - TIMED_PARKED and TIMED_PINNED Related: eclipse-openj9#18642 Signed-off-by: Babneet Singh <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Failure link
From an internal build(
paix906
):Rerun in Grinder - Change TARGET to run only the failed test targets.
Optional info
Failure output (captured from console output)
ppc64_aix serviceability_jvmti_j9 50x internal grinder
JDK21 aarch64_linux
aarch64_linux serviceability_jvmti_j9 50x internal grinder - 12/50 failed
The text was updated successfully, but these errors were encountered: