Skip to content

Commit 6884c2c

Browse files
committed
Fixed mx sl launcher.
1 parent 390de5d commit 6884c2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

truffle/mx.truffle/mx_truffle.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ def _sl_command(jdk, vm_args, sl_args, use_optimized_runtime=True, use_enterpris
401401
vm_args += ["--enable-native-access=ALL-UNNAMED"]
402402
else:
403403
vm_args += ["--enable-native-access=org.graalvm.truffle"]
404+
enable_sun_misc_unsafe(vm_args)
404405

405406
return [jdk.java] + jdk.processArgs(vm_args + mx.get_runtime_jvm_args(names=dist_names, force_cp=force_cp) + main_class + sl_args)
406407

0 commit comments

Comments
 (0)