-
Bug
-
Resolution: Invalid
-
None
-
1.14.4
-
None
-
Operating System: Arch Linux
Java version: 12.0.2
Minecraft version: 1.14.4
Launcher version: 2.1.5965
-
Unconfirmed
-
Crash
I tried running the shenandoah GC to compare performance. Now I know this GC is experimental but its failure is not the bug, the lack of a crash report is.
Do do this, I need to run in a java 12 environment, so I changed my java runtime from 'bundled' to
/usr/lib/jvm/java-12-openjdk/bin/java
And Minecraft starts and runs just fine.
As a next step, I changed the arguments from the default
-Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
To the custom
-Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC
Basically I removed all custom GC arguments and replaced them with the use shenandoah argument.
Now minecraft crashes after loading, but it doesn't leave a crash log for some reason.
# A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007fd436d7f422, pid=1036, tid=1047 # # JRE version: OpenJDK Runtime Environment (12.0.2+10) (build 12.0.2+10) # Java VM: OpenJDK 64-Bit Server VM (12.0.2+10, mixed mode, tiered, compressed oops, shenandoah gc, linux-amd64) # Problematic frame: # V [libjvm.so+0xaa8422]