JDK 27 G1/Parallel/Serial GC Changes(tschatzl.github.io) |
JDK 27 G1/Parallel/Serial GC Changes(tschatzl.github.io) |
What is being referred to here? Does "else" refer to ZGC, Shenandoah?
What does arcane env conditions mean?
> We made G1 the default collector for server environments in JDK 9 (JEP 248). At that time, testing showed that Serial had significant advantages in throughput and footprint in constrained environments with a single CPU or less than 1792 MB of physical memory. We therefore adjusted the JVM's GC selection algorithm to choose Serial in such environments.
I find that it basically just more or less works out of the box on modern JVMs.
You're right; the vast majority of people use GC just fine and go about their day. We should update little to none when we see evidence of GC hardship.