-
Notifications
You must be signed in to change notification settings - Fork 722
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
J9vmTest j9vm.test.jni.CriticalRegionTest testAcquireAndGC_Sleepers8_GCers8: not all threads completed before the timeout #18077
Comments
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.functional_s390x_linux_Nightly_testList_0/557 - ub20-390-4
|
Changes from previous build to first failure. The change wouldn't cause this failure. |
Probably related to #18044 |
Looks like the timeout has been increased in the past to 5 seconds. Seems test fails on one group of similar zLinux machines. It might be these machines are so slow that timeout should be increased again (to 10 seconds?). |
We can first try removing one of the two System.gc() calls and see if that resolves it. |
Hm, It might improve timing but can it create logical problem if SystemGC can not produce results as expected (due behaviour first call can just complete GC Cycle and left floating garbage, unprocessed References etc. behind, so it is the reason we call SystemGC twice)? Can this test be impacted? |
But System.gc() does two calls internally now, since #18044. You think we still need to explicitly call it twice? |
Right. Sorry, I forgot, you are correct. |
Issue eclipse-openj9#18077 Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
I looked more closely and removing a call to System.gc() won't help with the timeout since it's in another test that we haven't run yet when the timeout occurs. Still I've removed it and increased the timeout in https://github.com/eclipse-openj9/openj9/compare/master...pshipton:gconce?expand=1, running a grinder to confirm and then will create a PR for review. |
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.functional_s390x_linux_Nightly_testList_1/556 - ub20-390-1
J9vmTest_4
The text was updated successfully, but these errors were encountered: