We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 97c269b + 6fb2b23 commit 2537416Copy full SHA for 2537416
substratevm/mx.substratevm/mx_substratevm.py
@@ -1265,6 +1265,9 @@ def _native_image_launcher_extra_jvm_args():
1265
res = [f'-XX:{max_heap_size_flag}']
1266
if not mx_sdk_vm.jdk_enables_jvmci_by_default(get_jdk()):
1267
res.extend(['-XX:+UnlockExperimentalVMOptions', '-XX:+EnableJVMCI'])
1268
+ # Graal should not be used as the JIT compiler since SVM specific compiler extensions
1269
+ # are put on the module path which can cause problems when running Graal as a HotSpot JIT.
1270
+ res.append('-XX:-UseJVMCICompiler')
1271
return res
1272
1273
driver_build_args = [
0 commit comments