3 ms·
I had to solve stop-the-world pauses that were causing occasional intolerable lag spikes in a multiplayer game. The solution was to switch to Java's G1 GC, and
by stevenh 10y ago
I had to solve stop-the-world pauses that were causing occasional intolerable lag spikes in a multiplayer game. The solution was to switch to Java's G1 GC, and also to deadpool and reuse every object and byte array I possibly could.