4 ms·
I'm honestly very skeptical that Apple actually did everything they could to make Java startup fast and the GC perform well under load. G1GC is a fine collecto
by cogman10 1y ago
I'm honestly very skeptical that Apple actually did everything they could to make Java startup fast and the GC perform well under load.
G1GC is a fine collector, but if pause time is really important they should have used ZGC.
And if startup is a problem, recent versions of Java have introduced AppCDS which has gotten quite good throughout the releases.
And if that wasn't good enough, Graal has for a long time offered AOT compilation which gives you both fast startup and lower memory utilization.
None of these things are particularly hard to add into a build pipeline or deployment, they simply require Apple to use the latest version of Java.