RFR[XS] 8210040 [TESTBUG] TestOptionsWithRanges is very slow
coleen.phillimore at oracle.com
coleen.phillimore at oracle.com
Tue Aug 28 12:25:24 UTC 2018
Thank you for doing this. I ran into this test yesterday. Is there any
way to split this test into multiple tests? I had a look at it and
couldn't think of a way, since it parses the output of
-XX:+PrintFlagsRanges, I believe. Maybe alphabetically though,
include/exclude some groups of flags? Or maybe stop testing all the CMS
flags. Possibly another RFE.
Your change looks good though. It will help.
Thanks,
Coleen
On 8/28/18 2:27 AM, Ioi Lam wrote:
> https://bugs.openjdk.java.net/browse/JDK-8210040
> http://cr.openjdk.java.net/~iklam/jdk12/8210040-TestOptionsWithRanges-slow.v01/
>
>
> 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 machine
> 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