logoalt Hacker News

pronyesterday at 4:33 PM3 repliesview on HN

Java lost almost all those knobs a while ago (I mean they're there, but you're better off relying on the defaults). The modern GCs have one or at most two knobs remaining, and even that will become unnecessary next year. As to predictablity, you get maximal pause time of well under 1ms for heaps up to 16TB.


Replies

winridyesterday at 11:01 PM

The max pause time thing is a meme :) I have gotten multi second pause times with ZGC. It depends on what hardware you run it on.

show 2 replies
JackSlateuryesterday at 9:59 PM

As far as I know, java has 7 GC implementations, none of which are perfect, all of which have drawbacks

Lately, they seems to work with CRIU, various heuristics, multi-stage in-process bytecode compilation ..

Java is a mess, they are working hard to avoid fixing their issue (that nobody else have, so fixes are available)

show 1 reply
refulgentistoday at 12:24 AM

Next year? Do tell

show 1 reply