how do i install a new garbage collector?

pretty simple, im trying to reduce stuttering, and someone recommended getting shenandoah for that, but im not sure how id go about that
9 Replies
hardester
hardester3mo ago
It's uh, included inside your JRE/JDK... All you need to do is change the JVM argument that specifies the garbage collector: Something something -XUseG1GC to -XUse<Name>GC. Look up the actual argument names if you're not sure.
gayvian
gayvian3mo ago
i see i shall try that and see if that fixes my stutters i tried "-XUseShanendoahGC" and "-XUseZGC" and it just caused the game to crash immediately, i guess they werent the proper arguements though lol
hardester
hardester3mo ago
I never touched those arguments so, the internet is your friend.
gayvian
gayvian3mo ago
fug
Yeshi
Yeshi3mo ago
not sure if -XUseZGC is the correct flag. i personally use -XX:+UseZGC
Westerstaad
Westerstaad3mo ago
how do you download a different garbage collector
gayvian
gayvian3mo ago
tyyyy