Hacker News new | ask | show | jobs
by pron 44 days ago
The new generational ZGC? I'm sceptical.
1 comments

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.