News for hackers. Stuff that matters.
Re:Why is Arrays.fill 265 times slower on G1GC? by cogman10 on Friday September 04, 2026 @01:53PM (#49567925)
I have no qualms with ZGC being the default. The low latency that it offers at near G1 speeds is a very good trade off (IMO).

I just have a problem with G1 because in my experience, the best place for it is fairly large heaps. Get something sub 2 or even 10G, especially if you have a few cores to offer, and the parallel and often even the serial collector will give G1 latency even on major collections with superior throughput and overhead.

Re:Why is Arrays.fill 265 times slower on G1GC? by pron on Sunday September 06, 2026 @07:26PM (#49591947)
Are you talking about G1 in JDK 25, JDK 26, or JDK 27? While G1 isn't changing quite as fast as ZGC, it changes quite a bit from release to release. I believe that G1 has been made the default even for small machines in JDK 27 because of some very recent changes that have made G1 more suitable in smaller environments.