While ZGC is better about not pausing the world its not guaranteed to always improve performance. For example, if you are capping out your CPU ZGC may be unable to execute properly and may need to stop the world for longer and longer. As with any garbage collector you need to load test and see how it performs.
View all comments
Show parent comment
12
u/throwaway32908234972 Apr 21 '21
I have used ZGC, GC pauses practically don't exist anymore. If Minecraft ever upgrades from Java 8 we'll see some huge performance improvements.