4 ms·
The problem is that Java 7 is 10 years old, it means that you are missing 10 years of optimization. For GCs that's a lot. GCs before ~2010 have been optimized
by _old_dude_ 5y ago
The problem is that Java 7 is 10 years old, it means that you are missing 10 years of optimization. For GCs that's a lot.
GCs before ~2010 have been optimized for throughput more than for latency. Since then, you can choose.
Since 10 years, G1 let you set your maximum pause time and you get a huge warning if it miss that target, ZGC or Shenandoah are from the beginning latency first, throughput second.