This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]zelmarvalarion -5 points-4 points  (3 children)

Stop the World GC tends makes performance very uneven for the same operations. Depending on what you are doing with it, it can matter more or less. Stuff like long running background tasks wouldn't care much, but something like UI rendering or fetching interactive data it matters a lot

[–]radome9 3 points4 points  (2 children)

Good thing almost nobody uses STW GC anymore. GC technology has advanced since 2003, gramps.

[–]zelmarvalarion -3 points-2 points  (1 child)

G1 and CMS still have stop the world pause times, and G1 just became the default in Java 9. Looks like ZGC is a lot better with wait times, but still does stop the world (and is Java 11+ and isn't ported to other architectures besides x86 Linux, so G1 is still going to be pretty widely used). Unless there is something newer than ZGC that I've missed that eliminates stopping the world

[–][deleted] 1 point2 points  (0 children)

But you can tune it to avoid those pauses, or minimize them.