-
Notifications
You must be signed in to change notification settings - Fork 43
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
Adjust ThreadListStackTracesTest for checkReentrantLock #63
Conversation
@babsingh requesting review |
.../jtreg/serviceability/jvmti/vthread/ThreadListStackTracesTest/ThreadListStackTracesTest.java
Outdated
Show resolved
Hide resolved
.../jtreg/serviceability/jvmti/vthread/ThreadListStackTracesTest/ThreadListStackTracesTest.java
Outdated
Show resolved
Hide resolved
.../jtreg/serviceability/jvmti/vthread/ThreadListStackTracesTest/ThreadListStackTracesTest.java
Outdated
Show resolved
Hide resolved
In the commit message, the flow is better if |
The test is flawed due to the timing gap. This change will reduce the frequency of the failure. In the worst case, the How less frequent is the failure with this PR? Does it never occur? |
The test does not fail with this PR when it is run 2500 times. The test fails approximately once every 100 times without this PR. |
4b4f9cf
to
c2578b0
Compare
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.
Also, squash the commits.
.../jtreg/serviceability/jvmti/vthread/ThreadListStackTracesTest/ThreadListStackTracesTest.java
Show resolved
Hide resolved
.../jtreg/serviceability/jvmti/vthread/ThreadListStackTracesTest/ThreadListStackTracesTest.java
Outdated
Show resolved
Hide resolved
.../jtreg/serviceability/jvmti/vthread/ThreadListStackTracesTest/ThreadListStackTracesTest.java
Outdated
Show resolved
Hide resolved
Adjust ThreadListStackTracesTest for checkReentrantLock to be ready when the virtual thread state is WAITING after the reentrant lock parks the virtual thread. When the virtual thread is mounted, the virtual thread state, which is obtained from the carrier thread, can transition between WAITING and RUNNABLE before the virtual thread is parked on the lock. Issue: eclipse-openj9/openj9#18089 Signed-off-by: Amarpreet Singh <[email protected]>
be222e4
to
aa716a1
Compare
@babsingh I have squashed the commits, updated the commit message, and addressed the new comments. Re-requesting your review. |
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.
300x grinder passed: https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/36164.
@singh264 Need to double deliver to 0.42 |
|
Adjust ThreadListStackTracesTest for checkReentrantLock
to be ready when the virtual thread state is WAITING after
the reentrant lock parks the virtual thread. When the
virtual thread is mounted, the virtual thread state, which
is obtained from the carrier thread, can transition
between WAITING and RUNNABLE before the virtual thread is
parked on the lock.
Issue: eclipse-openj9/openj9#18089
Signed-off-by: Amarpreet Singh [email protected]