UsePriorityInlining GraalVM Flag crashes Sodium
brucethemoose opened this issue ยท 1 comments
Version information
mc 1.19.1, 1.18.2
Reproduction Steps
-
Download the latest GraalVM EE Java 17 release. Its free, but requires registration here https://www.oracle.com/downloads/graalvm-downloads.html
-
Launch Minecraft 1.18.2 or 1.19.x with sodium and fabric, using GraalVM EE 17
-
Try to create a single player world
-
Game will crash
-
Add the flag
-Dgraal.UsePriorityInlining=false
, and the game will not crash (as it is enabled by default).
Crash Report file
Additional information
This only happens in GraalVM 22.2.0, not GraalVM 22.1.0 or any earlier version.
Immersive Portals crashes in an almost identical manner: iPortalTeam/ImmersivePortalsMod#1153
Related issue on Oracle's GitHub is here: oracle/graal#4772
And why even try to run EE at all? GraalVM EE has some significant performance benefits over CE, and issues with other mods are rare (in my experience).
This is possibly a bug on GraalVM's end, but it doesn't seem to affect any mods other than ones that touch rendering (like Immersive Portals and Sodium... but not "content' mods like Create?)