Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions substratevm/mx.substratevm/mx_substratevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1265,6 +1265,9 @@ def _native_image_launcher_extra_jvm_args():
res = [f'-XX:{max_heap_size_flag}']
if not mx_sdk_vm.jdk_enables_jvmci_by_default(get_jdk()):
res.extend(['-XX:+UnlockExperimentalVMOptions', '-XX:+EnableJVMCI'])
# Graal should not be used as the JIT compiler since SVM specific compiler extensions
# are put on the module path which can cause problems when running Graal as a HotSpot JIT.
res.append('-XX:-UseJVMCICompiler')
return res

driver_build_args = [
Expand Down