[9] RFR (S): 8071864: compiler/c2/6772683/InterruptedTest.java failed in nightly

Zoltán Majó zoltan.majo at oracle.com
Wed Jan 13 15:02:22 UTC 2016


please review the patch for 8071864.


Problem: The test runs using two threads: The main thread and a worker 
thread. Before exiting, the main thread interrupts the worker thread. 
Then, the main thread waits a limited amount of time for the worker 
thread to exit.

On highly loaded systems it can happen that the OS does not provide CPU 
time to the worker thread to exit in the limited amount of time 
available. In this case the test fails.

Solution: Increase the amount of time the main thread waits for the 
worker thread.


- executed test on a highly loaded system: Without the fix, the test 
fails after 66 iterations; with the fix it was possible to execute the 
test 1000 iteration without a failure;

Thank you and best regards,


More information about the hotspot-compiler-dev mailing list