Reputation: 3244
In the "Fundamentals of JVM tuning" talk by Charlie Hunt https://www.youtube.com/watch?v=4joWshvFJnw&noredirect=1
The slide at 10:06 asserts that: "Parallel GC offers the fastest minor GC times". However the talk doesnt explain why this is.
It might be obvious, but nonetheless I would appreciate any reasoning/proof backing up the above statement.
Upvotes: 1
Views: 58
Reputation: 8653
While the serial GC uses only one thread to process a GC, the parallel GC uses several threads to process a GC, and therefore, faster. This GC is useful when there is enough memory and a large number of cores.
refer to this link for explaination
Upvotes: 1