RFR(XS): 8198510: Limit GC threads for small Java heap
martin.doerr at sap.com
Wed Feb 21 13:48:34 UTC 2018
the VM currently starts a large amount of GC threads on systems with many CPUs regardless of the Java heap size.
This doesn't make sense for very small heap sizes.
The number of ParallelGCThreads can be observed by e.g.:
jdk/bin/java -Xmx128m -XX:+PrintFlagsFinal -version|grep GCThreads
My proposal is to use up to 1 GC thread per 64 MB of heap:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-gc-dev