FXGLGames
FXGLGames copied to clipboard
enable ZGC by default?
Hi:
Openjdk 16 is released and it supports ZGC which could make gc pause lower than 1ms so is it possible to enable ZGC by default?
<options>
<option>-XX:+UseZGC</option>
</optoins>
thx
Hi, I don't know much about ZGC, but will investigate
We tried enable ZGC on FXGL games and based on the console debug info. Before(using default G1 gc strategy) the gc pause is ~280 or even higher using ZGC, the gc pause decreased to ~30