Hi, I've started to look at G1 garbage collector internals and I would like to know if the performance of G1 are affected by the number of threads in the application. Doing a STW means stopping all application threads, and this suggests me that the more threads you have in your application, the longer STW pauses will be.
I've done some basic tests (from 1 thread to 10, 100, 1000) and I'm not able to see a clear pattern. But this may be due to my ignorance on the topic. I'm collecting data using "-XX:+PrintGCApplicationStoppedTime -XX:+PrintSafepointStatistics -XX:PrintSafepointStatisticsCount=1" on JDK 8. Is it true that the number of threads slow down G1 GC? Regards, Nicola Ferraro
_______________________________________________ hotspot-gc-use mailing list hotspot-gc-use@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use