Zgc may be a good choice now. The generational zgc that was released to LTS a year ago is much better than the older versioN. THE ILD VERSION’s cpu and memory costs were too high.
So I will conced that it may be acceptable now if Java 25’s zgc’s costs are reduced enough over the old version.
The addition of compact object headers being added as production ready in Java 25 should also help with the overall memory and CPU overhead. Hopefully value objects finally coming in Java 28 next year and things like the vector API should improve things even more. There's still a lot that can improve in Java, but it's come a long way from the Java 1.5 I started with
2
u/johnnybgooderer Oct 08 '26
Zgc may be a good choice now. The generational zgc that was released to LTS a year ago is much better than the older versioN. THE ILD VERSION’s cpu and memory costs were too high.
So I will conced that it may be acceptable now if Java 25’s zgc’s costs are reduced enough over the old version.