Hacker News new | ask | show | jobs
by winrid 33 days ago
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.
2 comments

The new generational ZGC? I'm sceptical.
So if I run it on a Pentium 3 you're telling me I can't get a long pause time? "1ms" means nothing
Yes, on any hardware that ZGC supports and that your program otherwise runs with acceptable performance you won't get a long pause time, including (hypothetically) Pentium 3. The reason is that there is no work done inside the pause (no marking, no compacting, not even root scanning). It's just used to signal all threads that a new "epoch" is starting. On small hardware you have a small number of active threads, and so the pause will also be very short.
Have a reproducer?