Рет қаралды 5,894
To apply the Shenandoah garbage collector to Minecraft 1.17+:
1) Download and install Java (JRE) 17 from Azul for your OS - www.azul.com/downloads/#downl...
2) Set up Minecraft to run with this Java (skip if you downloaded the installer file, not the zip)
3) Add the following launch options for Minecraft:
-XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
Default garbage collector settings:
-XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
My Telegram channel (in Russian): t.me/NaoCraftLab