Skip to content

26.1 preparations#25

Open
amyavi wants to merge 3 commits intokaboomserver:masterfrom
amyavi:master
Open

26.1 preparations#25
amyavi wants to merge 3 commits intokaboomserver:masterfrom
amyavi:master

Conversation

@amyavi
Copy link
Contributor

@amyavi amyavi commented Feb 20, 2026

Minecraft 26.1 will require Java 25. As of 26.1-snapshot-2, it will also use ZGC instead of G1GC as it's default garbage collector, so I switched Aikar's flags to just ZGC.

ZGC has a bit of memory overhead in exchange for incredibly short GC pause times. I think the UseCompactObjectHeaders flag will compensate for that memory overhead. Mojang turned this on by default as well, so it's most likely not going to break anything.

They also turned on UseStringDeduplication by default, and while I'm not sure how this will affect the server's CPU usage, I'm hoping it helps with memory usage a bit, especially considering the large strings people frequently use in NBT items and entities, so I enabled it here too.

We can remove this flag once the server is updated to 26.1, as Minecraft itself won't start.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant