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

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Jan 13 18:10:52 UTC 2016


Good.

Thanks,
Vladimir

On 1/13/16 7:02 AM, Zoltán Majó wrote:
> Hi,
>
>
> please review the patch for 8071864.
>
> https://bugs.openjdk.java.net/browse/JDK-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.
>
> Webrev:
> http://cr.openjdk.java.net/~zmajo/8071864/webrev.00/
>
> Testing:
> - 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,
>
>
> Zoltan
>


More information about the hotspot-compiler-dev mailing list