Skip to content

About

No bullshit flags to start high-load minecraft servers on GraalVM

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

bedrocksflags

No bullshit flags to start high-load minecraft servers. Makes the realistic improvements that can be made to Minecraft server garbage collection and overall speed without cramming in loads of useless junk.

Requires:

  • Linux
  • Java 27

--add-modules=jdk.incubator.vector -XX:+UseZGC -XX:+UseStringDeduplication -XX:+UseTransparentHugePages

Yes, that's it. The JVM defaults (and modern MC behavior) have matured to the point that a giant heap of flags, even on the level of Aikar's, is simply no longer necessary.

Additionally, Compact Object Headers have been standardized and are on by default in 27.

GraalVM stopped shipping builds for JDKs above 25, so it was also time to leave them behind.

Breakdown of flags:

--add-modules=jdk.incubator.vector - Enables advanced vector support using SIMD on modern CPUs.

-XX:+UseZGC - Enables the Z Garbage Collector.

-XX+UseTransparentHugePages - Reduces pressure on processor's TLB cache. Requires OS level setup!

-XX:+UseStringDeduplication - Reduces memory usage.

About

No bullshit flags to start high-load minecraft servers on GraalVM

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors