Re:Shenandoah in OpenJDK 17: Sub-millisecond GC pauses
by syspec on Friday September 17, 2021 @09:07AM
(#28565018)
Wasn't Minecraft written in Java?
[ Parent
| on HN ]
Re:Shenandoah in OpenJDK 17: Sub-millisecond GC pauses
by plainnoodles on Friday September 17, 2021 @10:02AM
(#28565590)
Yes, but as someone who ran a medium-sized server (200ish players), depending on what your map looked like, you occasionally found yourself spending a lot of time doing GC tuning, especially back in java 7 days when we didn't even have the first generation of G1GC.
Ah, good times. I currently work in Hadoop and it's honestly stupid how much tuning a Spark job is like tuning a Minecraft server (from the JVM level anyway). Life's path is strange sometimes.
Re:Shenandoah in OpenJDK 17: Sub-millisecond GC pauses
by ohgodplsno on Friday September 17, 2021 @11:21AM
(#28566502)
It was, although it got bitten at one update explicitly by the GC: entity positions moved from a bunch of arrays, to a single Position() class for each entity, leading to memory allocations that murdered performance.
But then again, that's a problem you'd get without GC too, just maybe a bit less harsh/unpredictable.