RFC: JEP draft: Ergonomics Always Select the G1 Garbage Collector as Default

Thomas Schatzl thomas.schatzl at oracle.com
Mon Jun 23 08:57:26 UTC 2025


Hi all,

   this is a continuation of an earlier thread [0] where I suggested to 
make G1 as the default collector unconditionally.

As you may know, on very small deployments (1 CPU and 1.8GB of heap), 
ergonomics still select the Serial collector if no GC algorithm is 
selected on the command line.

Since there has not been any pushback to that suggestion, I wrote up a 
JEP draft [1], so I wanted to ask for further feedback before submitting 
it.

Thanks,
   Thomas

[0] 
https://mail.openjdk.org/pipermail/hotspot-gc-dev/2025-February/051121.html
[1] https://bugs.openjdk.org/browse/JDK-8359802


More information about the hotspot-gc-dev mailing list