3 ms·
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.
by winrid 5mo 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.
- pron 5mo agoThe new generational ZGC? I'm sceptical.
- winrid 5mo agoSo if I run it on a Pentium 3 you're telling me I can't get a long pause time? "1ms" means nothing
- pron 5mo agoYes, 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.
- remexre 5mo agoHave a reproducer?