RFR (S): 8071864: compiler/c2/6772683/InterruptedTest.java failed in nightly
vladimir.kozlov at oracle.com
Wed Jan 13 18:10:52 UTC 2016
On 1/13/16 7:02 AM, Zoltán Majó wrote:
> 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;
> - JPRT.
> Thank you and best regards,
More information about the hotspot-compiler-dev