-
Notifications
You must be signed in to change notification settings - Fork 721
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
JVMTI NotSuspended test fails with incorrect virtual thread stacktrace #16688
Comments
@fengxue-IS I believe that this test fails because our implementation of |
This is not due to mismatch of the impl, looking at the test code, seem like we have returned a carrier/platform thread as result of The test code seem to suggest that a Once that have been fixed, we should retest to see if it is still looking at implementation specific details. (I suspect that will be the case as OpenJ9's continuation entry point is |
If no virtual thread is mounted on the targetThread i.e. carrierThreadObject == threadObject, then return null for the output virtual thread value. Virtual thread is not pinned in this function. So, read threadObject and carrierThreadObject once and store their values to avoid inconsistency. Related: eclipse-openj9#16688 Related: eclipse-openj9#16751 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
Continuation.execute is renamed to Continuation.enter. Matching the RI will allow us to run more OpenJDK tests without tweaking them for our implementation and be better prepared to support unimplemented/new features in the future. Related: eclipse-openj9#16688 Related: eclipse-openj9#16751 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
- NotSuspended/GetStackTraceNotSuspendedStressTest has been fixed. - SuspendThread/suspendthrd03 has been removed in JDK20. - Now, VThreadTest fails because of eclipse-openj9/openj9#15920. Related: - eclipse-openj9/openj9#16688 - eclipse-openj9/openj9#16242 - eclipse-openj9/openj9#17307 Depends on eclipse-openj9/openj9#17318 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
- NotSuspended/GetStackTraceNotSuspendedStressTest has been fixed. - SuspendThread/suspendthrd03 has been removed in JDK20. - Now, VThreadTest fails because of eclipse-openj9/openj9#15920. - eclipse-openj9/openj9#16185 and eclipse-openj9/openj9#16279 are permanently excluded. Changed their reason to adoptium#1297 to support the test tool, which automatically enables tests after the related issues are closed. Related: - eclipse-openj9/openj9#16688 - eclipse-openj9/openj9#16242 - eclipse-openj9/openj9#17307 Depends on eclipse-openj9/openj9#17318 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
- NotSuspended/GetStackTraceNotSuspendedStressTest has been fixed. - SuspendThread/suspendthrd03 has been removed in JDK20. - Now, VThreadTest fails because of eclipse-openj9/openj9#15920. - eclipse-openj9/openj9#16185 and eclipse-openj9/openj9#16279 are permanently excluded. Changed their reason to #1297 to support the test tool, which automatically enables tests after the related issues are closed. Related: - eclipse-openj9/openj9#16688 - eclipse-openj9/openj9#16242 - eclipse-openj9/openj9#17307 Depends on eclipse-openj9/openj9#17318 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com> Co-authored-by: Martijn Verburg <martijnverburg@gmail.com> Co-authored-by: Lan Xia <19273206+llxia@users.noreply.github.com>
The test has been fixed through the following PRs: |
Issue
The stacktrace of virtual thread is incorrect since it doesn't start/match the
CONTINUATION_CLASS_NAME
and
CONTINUATION_METHOD_NAME
.Test CMD
Test Output
The text was updated successfully, but these errors were encountered: