Skip to content

Commit 59dfaf1

Browse files
committed
squash: review feedback
1 parent a7bfd4f commit 59dfaf1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/reference-manual/embedding/embed-languages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ This table shows the level of optimizations the Java runtimes currently provide:
413413
414414
| Java Runtime | Runtime Optimization Level |
415415
|-----------------------------------------------|-----------------------------------------------------|
416-
| Oracle GraalVM | Optimized with additional compiler passes |
416+
| Oracle GraalVM | Best (includes additional compiler optimizations) |
417417
| GraalVM Community Edition | Optimized |
418418
| Oracle JDK | Optimized via VM option |
419419
| OpenJDK | Optimized via VM option and `--upgrade-module-path` |

sdk/mx.sdk/mx_sdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def __init__(self):
271271
additional_vm_args = []
272272
elif GraalVMJDKConfig.is_libgraal_jdk(default_jdk.home):
273273
# Oracle JDK includes the libjvmci compiler, allowing it to function as GraalVM.
274-
# However, the Graal compiler is disabled by default and must be explicitly enabled using the -XX:+UseJVMCICompiler option.
274+
# However, the Graal compiler is disabled by default and must be explicitly enabled using the -XX:+UseGraalJIT option.
275275
graalvm_home = default_jdk.home
276276
additional_vm_args = ['-XX:+UnlockExperimentalVMOptions', '-XX:+EnableJVMCI', '-XX:+UseGraalJIT', '-XX:-UnlockExperimentalVMOptions']
277277
else:

sdk/mx.sdk/mx_sdk_vm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,8 @@ def _get_image_vm_options(jdk, use_upgrade_module_path, modules, synthetic_modul
776776
if default_to_jvmci or 'jdk.graal.compiler' in non_synthetic_modules:
777777
threads = get_JVMCIThreadsPerNativeLibraryRuntime(jdk)
778778
vm_options.extend(['-XX:+UnlockExperimentalVMOptions', '-XX:+EnableJVMCIProduct'])
779-
# As of JDK-8345826, the JVMCI module must be explicitly added to the root set
779+
# -XX:+EnableJVMCI must be explicitly specified to the java launcher to add
780+
# jdk.internal.vm.ci to the root set (JDK-8345826)
780781
vm_options.append('-XX:+EnableJVMCI')
781782
if threads is not None and threads != 1:
782783
vm_options.append('-XX:JVMCIThreadsPerNativeLibraryRuntime=1')

0 commit comments

Comments
 (0)