Environment
- Platform: ARM64 (AArch64)
- Emulator: Box64
- Java: OpenJDK 17 (64-bit)
- Application: Project Zomboid Dedicated Server
Problem
The JVM crashes when running under Box64 with normal JIT compilation.
The following JVM options consistently crash:
and
Workarounds
The JVM runs correctly when disabling JIT completely:
or
However, both options significantly reduce performance.
Another configuration that appears to be stable so far is:
-XX:+UseG1GC
-XX:TieredStopAtLevel=2
This allows the server to run without crashes while providing much better performance than -Xint.
Expected behavior
The JVM should be able to run normally with the default JIT compiler and garbage collectors (G1GC or ZGC) without crashing.
Additional notes
This issue appears to be related to JIT compilation under Box64. Limiting tiered compilation to level 2 avoids the crash, suggesting that higher-tier JIT compilation may trigger the problem.
If needed, I can provide crash logs hs_err_pid130196.log for further investigation.
Environment
Problem
The JVM crashes when running under Box64 with normal JIT compilation.
The following JVM options consistently crash:
and
Workarounds
The JVM runs correctly when disabling JIT completely:
or
However, both options significantly reduce performance.
Another configuration that appears to be stable so far is:
This allows the server to run without crashes while providing much better performance than
-Xint.Expected behavior
The JVM should be able to run normally with the default JIT compiler and garbage collectors (G1GC or ZGC) without crashing.
Additional notes
This issue appears to be related to JIT compilation under Box64. Limiting tiered compilation to level 2 avoids the crash, suggesting that higher-tier JIT compilation may trigger the problem.
If needed, I can provide crash logs hs_err_pid130196.log for further investigation.