The Hytale server ships with a pre-trained ahead-of-time cache, HytaleServer.aot. Starting with it improves boot times by skipping the JIT warm-up.
How it works
Java normally spends the first moments after starting compiling the code it uses most (the «JIT warm-up»). The AOT cache, a Java feature described in JEP 514, lets the server start with much of that work already done. The official launch command is java -XX:AOTCache=HytaleServer.aot -jar HytaleServer.jar --assets Assets.zip.
On our servers
It's the «Use Ahead-of-Time Cache» startup option. Leave it on: it only affects how fast the server starts, not your world.
The cache belongs to the server version it came with. After an update the new server brings its own.
About this guide: An original guide from the EnduranceNodes team, written for the servers we host. If a step no longer matches what you see, tell us and we will update it.
