[jdk17] RFR: 8270908: TestParallelRefProc fails on single core machines

Christoph Göttschkes cgo at openjdk.java.net
Fri Jul 23 07:16:05 UTC 2021


On Wed, 21 Jul 2021 12:12:25 GMT, Christoph Göttschkes <cgo at openjdk.org> wrote:

> Hi,
> 
> please review this small fix for the test case TestParallelRefProc.
> I changed the way the ParallelGC is tested to the same way G1GC is tested, since the test failed on single core machines. Ergo configures only 1 parallel GC thread on single core machines and with only 1 thread, ergo does not enable `ParallelRefProcEnabled`.

Thanks for the reviews.
The test failure on macOS is because 3 unrelated test cases ran into a timeout:
* runtime/CreateMirror/ArraysNewInstanceBug.java
* runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/ArrayIndexOutOfBoundsExceptionTest.java#id1
* runtime/LoadClass/TestResize.java

-------------

PR: https://git.openjdk.java.net/jdk17/pull/262



More information about the hotspot-gc-dev mailing list