best client jvm flags?

What are the best jvm flags for clients?
4 Replies
Mortis
Mortis2y ago
!flags
Carl-bot
Carl-bot2y ago
Garbage Collection is an important aspect of Java
Usually you'll want to fine-tune your server's GC to maximize efficiency but minimize the negative effects (e.g. stuttering). The baseline recommendation is to use G1GC, you should follow aikar's recommendations (a Paper core dev) on how to tweak it. For contemporary java versions, there's also ShenandoahGC with even shorter pauses and smaller CPU overhead, hilltty's flagset is the usually recommended. If you feel adventurous, you can also try out the latest of the three, ZGC. It is not yet spread wide, actually digging up a reference was somewhat hard. If you want to read a general overview of Java GCs, there's this one in the making.
Admincraft Canned Responses
Mortis
Mortis2y ago
@1who¡ssus? ^^
1who¡ssus?
1who¡ssus?OP2y ago
Oh wow th Ty*

Did you find this page helpful?