Skip to content

[GR-67719] Update labsjdk to 26+7-jvmci-b01. #11697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 33 commits into from
Jul 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
7dee7ed
Automatic merge of master into galahad
OracleLabsAutomation Jul 10, 2025
47c1af1
Automatic merge of master into galahad
OracleLabsAutomation Jul 11, 2025
953b8f8
Automatic merge of master into galahad
OracleLabsAutomation Jul 12, 2025
6a5d97b
Automatic merge of master into galahad
OracleLabsAutomation Jul 12, 2025
ca7ee3e
Automatic merge of master into galahad
OracleLabsAutomation Jul 12, 2025
bb71c42
Automatic merge of master into galahad
OracleLabsAutomation Jul 12, 2025
9fdfeae
Automatic merge of master into galahad
OracleLabsAutomation Jul 12, 2025
d6f97ed
Automatic merge of master into galahad
OracleLabsAutomation Jul 12, 2025
27ad13f
Automatic merge of master into galahad
OracleLabsAutomation Jul 12, 2025
a1c33ae
Automatic merge of master into galahad
OracleLabsAutomation Jul 13, 2025
c5960f6
Automatic merge of master into galahad
OracleLabsAutomation Jul 14, 2025
d0d2d11
Automatic merge of master into galahad
OracleLabsAutomation Jul 14, 2025
a019a10
Automatic merge of master into galahad
OracleLabsAutomation Jul 15, 2025
d3ee7ba
Automatic merge of master into galahad
OracleLabsAutomation Jul 15, 2025
c3573b7
Adapt JDK-8358619: Fix interval recomputation in CPU Time Profiler.
pecimuth Jul 15, 2025
0c1ccbd
Update galahad jdk.
pecimuth Jul 15, 2025
e27ee1c
Automatic merge of master into galahad
OracleLabsAutomation Jul 15, 2025
504abfb
Tiers gates should be ignored in galahad gates (GR-67618)
mur47x111 Jul 15, 2025
e18afcc
[JDK-8362259] Adapt JDK-8358619: Fix interval recomputation in CPU Ti…
pecimuth Jul 15, 2025
be5c2ea
Automatic merge of master into galahad
OracleLabsAutomation Jul 15, 2025
8cb96c0
Automatic merge of master into galahad
OracleLabsAutomation Jul 16, 2025
2377fe5
Automatic merge of master into galahad
OracleLabsAutomation Jul 16, 2025
f3e8bd1
Automatic merge of master into galahad
OracleLabsAutomation Jul 16, 2025
92e54a3
Automatic merge of master into galahad
OracleLabsAutomation Jul 16, 2025
c2fe73b
Automatic merge of master into galahad
OracleLabsAutomation Jul 17, 2025
760022e
update JVMCI to 26+7-jvmci-b01
OracleLabsAutomation Jul 17, 2025
1cbea4c
Merge tag 'jdk-26+7' into labsjdk/adopt-26+7-master
jovanstevanovic Jul 18, 2025
4db96bc
Update BasedOnJDKFile annotation.
jovanstevanovic Jul 18, 2025
bb67ea6
Adapt 8361959: [GCC static analyzer] java_props_md.c leak of 'temp' …
jovanstevanovic Jul 18, 2025
8d4c5c7
deploy labsjdk
marwan-hallaoui Jul 18, 2025
ecee6f1
Revert "[GR-67676] The `-llvm` artifacts are currently not up to date…
marwan-hallaoui Jul 18, 2025
fb70dce
[GR-67780] invokeinterface ICCE is fixed on JDK 26+
gilles-duboscq Jul 18, 2025
622e487
Remove java.applet.Applet from truffle TCK privileged methods.
jovanstevanovic Jul 21, 2025
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
4 changes: 2 additions & 2 deletions ci/ci_common/galahad-common.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ local utils = import "common-utils.libsonnet";
,
# Return true if this is a gate job.
local is_gate(b) =
std.find("gate", b.targets) != []
std.setInter(["gate", "tier1", "tier2", "tier3"], b.targets) != []
,
local gate_or_postmerge_targets = ["gate", "post-merge", "deploy"],
local gate_or_postmerge_targets = ["gate", "tier1", "tier2", "tier3", "post-merge", "deploy"],
# Return true if this is a gate or post-merge/deployment job.
local is_gate_or_postmerge(b) =
std.setInter(gate_or_postmerge_targets, b.targets) != []
Expand Down
16 changes: 8 additions & 8 deletions common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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-26+6-570", "platformspecific": true, "extrabundles": ["static-libs"]},
"galahad-jdk": {"name": "jpg-jdk", "version": "26", "build_id": "jdk-26+7-655", "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 },
Expand Down Expand Up @@ -53,13 +53,13 @@
"labsjdk-ee-25Debug": {"name": "labsjdk", "version": "ee-25+26-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ee-25-llvm": {"name": "labsjdk", "version": "ee-25+26-jvmci-b01-sulong", "platformspecific": true },

"oraclejdk-latest": {"name": "jpg-jdk", "version": "26", "build_id": "jdk-26+6", "platformspecific": true, "extrabundles": ["static-libs"]},
"labsjdk-ce-latest": {"name": "labsjdk", "version": "ce-26+6-jvmci-b01", "platformspecific": true },
"labsjdk-ce-latestDebug": {"name": "labsjdk", "version": "ce-26+6-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ce-latest-llvm": {"name": "labsjdk", "version": "ce-26+5-jvmci-b01-sulong", "platformspecific": true },
"labsjdk-ee-latest": {"name": "labsjdk", "version": "ee-26+6-jvmci-b01", "platformspecific": true },
"labsjdk-ee-latestDebug": {"name": "labsjdk", "version": "ee-26+6-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ee-latest-llvm": {"name": "labsjdk", "version": "ee-26+5-jvmci-b01-sulong", "platformspecific": true }
"oraclejdk-latest": {"name": "jpg-jdk", "version": "26", "build_id": "jdk-26+7", "platformspecific": true, "extrabundles": ["static-libs"]},
"labsjdk-ce-latest": {"name": "labsjdk", "version": "ce-26+7-jvmci-b01", "platformspecific": true },
"labsjdk-ce-latestDebug": {"name": "labsjdk", "version": "ce-26+7-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ce-latest-llvm": {"name": "labsjdk", "version": "ce-26+7-jvmci-b01-sulong", "platformspecific": true },
"labsjdk-ee-latest": {"name": "labsjdk", "version": "ee-26+7-jvmci-b01", "platformspecific": true },
"labsjdk-ee-latestDebug": {"name": "labsjdk", "version": "ee-26+7-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ee-latest-llvm": {"name": "labsjdk", "version": "ee-26+7-jvmci-b01-sulong", "platformspecific": true }
},

"eclipse": {
Expand Down
3 changes: 0 additions & 3 deletions compiler/mx.compiler/mx_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1264,9 +1264,6 @@ def get_latest_jvmci_version():
mx.abort(msg)

if version_check_setting == 'strict' and not success:
# [GR-67676] The `-llvm` artifacts are currently not up to date due to a JDK build system problem JDK-8361844.
if latest.endswith('-llvm'):
return
if latest == 'not found':
msg = f'No JVMCI JDK found in {common_path} that matches {_jdk_jvmci_version}.'
msg += os.linesep + f'Check that {latest} matches the versions of the other JVMCI JDKs.'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public final class JVMCIVersionCheck {
// Checkstyle: stop stable iteration order check
private static final Map<String, Map<String, Version>> JVMCI_MIN_VERSIONS = Map.of(
"26", Map.of(
"Oracle Corporation", createLabsJDKVersion("26+6", 1),
DEFAULT_VENDOR_ENTRY, createLabsJDKVersion("26+6", 1)));
"Oracle Corporation", createLabsJDKVersion("26+7", 1),
DEFAULT_VENDOR_ENTRY, createLabsJDKVersion("26+7", 1)));
// Checkstyle: resume stable iteration order check

private static final int NA = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1961,10 +1961,10 @@ private EspressoException unsatisfiedLinkError() {
private void checkPoisonPill(Meta meta) {
if (poisonPill) {
// Conflicting Maximally-specific non-abstract interface methods.
if (getJavaVersion().java9OrLater() && getSpecComplianceMode() == EspressoOptions.SpecComplianceMode.HOTSPOT) {
if (getJavaVersion().inRange(9, 25) && getSpecComplianceMode() == EspressoOptions.SpecComplianceMode.HOTSPOT) {
/*
* Supposed to be IncompatibleClassChangeError (see jvms-6.5.invokeinterface),
* but HotSpot throws AbstractMethodError.
* but HotSpot throws AbstractMethodError. See JDK-8356942.
*/
throw meta.throwExceptionWithMessage(meta.java_lang_AbstractMethodError, "Conflicting default methods: " + getName());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class LocaleCHelper {
* {@link #SVM_LOCALE_INITIALIZATION_OUT_OF_MEMORY}.
*/
@CFunction(value = "svm_initialize_locale", transition = NO_TRANSITION)
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+17/src/java.base/unix/native/libjava/java_props_md.c#L71-L357")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-26+7/src/java.base/unix/native/libjava/java_props_md.c#L71-L359")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+17/src/java.base/unix/native/libjava/java_props_md.c#L436-L460")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+21/src/java.base/windows/native/libjava/java_props_md.c#L263-L721")
static native int initializeLocale();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,15 @@ public static void setMethodSamplingPeriod(long type, long intervalMillis) {
SubstrateJVM.get().setMethodSamplingInterval(type, intervalMillis);
}

/** See {@code JVM#setCPUThrottle}. */
/** See {@code JVM#setCPURate}. */
@Substitute
public static void setCPUThrottle(double rate, boolean autoAdapt) {
public static void setCPURate(double rate) {
// JFR CPUTimeSample is not supported.
}

/** See {@code JVM#setCPUPeriod}. */
@Substitute
public static void setCPUPeriod(long periodNanos) {
// JFR CPUTimeSample is not supported.
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import com.oracle.svm.core.SubstrateOptions;
import com.oracle.svm.core.util.BasedOnJDKFile;

@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-26+2/src/hotspot/share/prims/jvmti.xml")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-26+7/src/hotspot/share/prims/jvmti.xml")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+11/src/hotspot/share/prims/jvmtiH.xsl")
class JvmtiDirectives implements CContext.Directives {
private final Path jdkIncludeDir = Paths.get(System.getProperty("java.home")).resolve("include");
Expand Down
2 changes: 2 additions & 0 deletions substratevm/src/com.oracle.svm.native.libchelper/src/locale.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ static int ParseLocale(int cat, char ** std_language, char ** std_script,
if (language != NULL && mapLookup(language_names, language, std_language) == 0) {
*std_language = malloc(strlen(language)+1);
if (*std_language == NULL) {
free(temp);
free(encoding_variant);
return SVM_LOCALE_INITIALIZATION_OUT_OF_MEMORY;
}
Expand All @@ -218,6 +219,7 @@ static int ParseLocale(int cat, char ** std_language, char ** std_script,
if (mapLookup(country_names, country, std_country) == 0) {
*std_country = malloc(strlen(country)+1);
if (*std_country == NULL) {
free(temp);
free(encoding_variant);
return SVM_LOCALE_INITIALIZATION_OUT_OF_MEMORY;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2839,17 +2839,6 @@
}
]
},
{
"name": "java.applet.Applet",
"methods": [
{
"name": "setStub",
"parameterTypes": [
"java.applet.AppletStub"
]
}
]
},
{
"name": "java.awt.Button",
"methods": [
Expand Down