G1GC, Java8u40ea, Metaspace questions
Wolfgang Pedot
wolfgang.pedot at finkzeit.at
Thu Feb 26 09:23:01 UTC 2015
Jon,
Am 26.02.2015 01:02, schrieb Jon Masamitsu:
> Wolfgang,
>
> Can you run you test program with UseParallelGC and see if you
> see the same growth in the Metaspace?
>
test is now running for a good 30min and it does not look like there is
growth.
The configuration is the same as before, I just changed +UseG1GC to
-UseG1GC and added +UseParallelGC. This collector is more successful in
getting rid of classes right away so Metaspace usage after GC stays
around ~110MB.
MetaspaceSize is configured to 300MB (Max is 2000MB) and the maximum
values for commited Metaspace in the gclog are 307200K.
Since usage stays lower than with G1 I am not sure if this is a "fair"
test regarding HWM calculation.
Wolfgang
More information about the hotspot-gc-use
mailing list