RFR[XS] 8210040 [TESTBUG] TestOptionsWithRanges is very slow

Ioi Lam ioi.lam at oracle.com
Tue Aug 28 06:27:10 UTC 2018


TestOptionsWithRanges spawns over 1000 JVM processes that try to force GC.
This scales very poorly on machines with lots of RAM. It timed out on my 
with 64GB RAM after an hour.

The fix is to add -Xmx1024m to the command-line of the child processes. 
Also add
-XX:-ZapUnusedHeapArea for fastdebug builds.

More information about the hotspot-runtime-dev mailing list