diff --git a/common.json b/common.json index ad9daa718f03..2edfa1e946a2 100644 --- a/common.json +++ b/common.json @@ -8,7 +8,7 @@ "COMMENT.jdks": "When adding or removing JDKs keep in sync with JDKs in ci/common.jsonnet", "jdks": { - "galahad-jdk": {"name": "jpg-jdk", "version": "25", "build_id": "jdk-25+24-2946", "platformspecific": true, "extrabundles": ["static-libs"]}, + "galahad-jdk": {"name": "jpg-jdk", "version": "25", "build_id": "jdk-25+24-2964", "platformspecific": true, "extrabundles": ["static-libs"]}, "oraclejdk17": {"name": "jpg-jdk", "version": "17.0.7", "build_id": "jdk-17.0.7+8", "platformspecific": true, "extrabundles": ["static-libs"]}, "labsjdk-ce-17": {"name": "labsjdk", "version": "ce-17.0.7+4-jvmci-23.1-b02", "platformspecific": true }, diff --git a/sdk/mx.sdk/mx_sdk_vm.py b/sdk/mx.sdk/mx_sdk_vm.py index 1c0e288c37eb..16bd92bead7d 100644 --- a/sdk/mx.sdk/mx_sdk_vm.py +++ b/sdk/mx.sdk/mx_sdk_vm.py @@ -836,6 +836,9 @@ def _get_image_vm_options(jdk, use_upgrade_module_path, modules, synthetic_modul if default_to_jvmci or 'jdk.graal.compiler' in non_synthetic_modules: threads = get_JVMCIThreadsPerNativeLibraryRuntime(jdk) vm_options.extend(['-XX:+UnlockExperimentalVMOptions', '-XX:+EnableJVMCIProduct']) + # -XX:+EnableJVMCI must be explicitly specified to the java launcher to add + # jdk.internal.vm.ci to the root set (JDK-8345826) + vm_options.append('-XX:+EnableJVMCI') if threads is not None and threads != 1: vm_options.append('-XX:JVMCIThreadsPerNativeLibraryRuntime=1') if default_to_jvmci == 'lib':