Skip to content

Commit a1bbe24

Browse files
Automatic merge of master into galahad
2 parents d32922f + 2537416 commit a1bbe24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

substratevm/mx.substratevm/mx_substratevm.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,9 @@ def _native_image_launcher_extra_jvm_args():
12651265
res = [f'-XX:{max_heap_size_flag}']
12661266
if not mx_sdk_vm.jdk_enables_jvmci_by_default(get_jdk()):
12671267
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')
12681271
return res
12691272

12701273
driver_build_args = [

0 commit comments

Comments
 (0)