Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
f74919b
Automatic merge of master into galahad
OracleLabsAutomation Apr 3, 2025
ee430e8
Automatic merge of master into galahad
OracleLabsAutomation Apr 3, 2025
d264319
Automatic merge of master into galahad
OracleLabsAutomation Apr 3, 2025
0b20e4a
Automatic merge of master into galahad
OracleLabsAutomation Apr 4, 2025
a7e560e
Automatic merge of master into galahad
OracleLabsAutomation Apr 4, 2025
8e5863f
Automatic merge of master into galahad
OracleLabsAutomation Apr 4, 2025
815dad8
Automatic merge of master into galahad
OracleLabsAutomation Apr 4, 2025
db9d7b8
Automatic merge of master into galahad
OracleLabsAutomation Apr 4, 2025
da86211
Automatic merge of master into galahad
OracleLabsAutomation Apr 5, 2025
317c822
Automatic merge of master into galahad
OracleLabsAutomation Apr 5, 2025
c184b92
Automatic merge of master into galahad
OracleLabsAutomation Apr 7, 2025
1ddc2d9
Automatic merge of master into galahad
OracleLabsAutomation Apr 7, 2025
bf5718d
Automatic merge of master into galahad
OracleLabsAutomation Apr 7, 2025
a0b879c
Automatic merge of master into galahad
OracleLabsAutomation Apr 8, 2025
9372478
Automatic merge of master into galahad
OracleLabsAutomation Apr 8, 2025
1b8201e
Automatic merge of master into galahad
OracleLabsAutomation Apr 8, 2025
14c6f7f
Automatic merge of master into galahad
OracleLabsAutomation Apr 8, 2025
351b3e8
Automatic merge of master into galahad
OracleLabsAutomation Apr 8, 2025
e417e6e
Automatic merge of master into galahad
OracleLabsAutomation Apr 8, 2025
d0c2852
Automatic merge of master into galahad
OracleLabsAutomation Apr 8, 2025
aa81201
Automatic merge of master into galahad
OracleLabsAutomation Apr 8, 2025
11abb87
Automatic merge of master into galahad
OracleLabsAutomation Apr 8, 2025
61a5239
Automatic merge of master into galahad
OracleLabsAutomation Apr 8, 2025
e26ed26
Automatic merge of master into galahad
OracleLabsAutomation Apr 9, 2025
2e544e7
Automatic merge of master into galahad
OracleLabsAutomation Apr 9, 2025
5212001
Adapt JDK-8351927: Change VirtualThread implementation to use use FJP…
mur47x111 Apr 9, 2025
efd7c48
Update galahad JDK
mur47x111 Apr 9, 2025
00d8dcd
[JDK-8354113] Adapt JDK-8351927: Change VirtualThread implementation …
mur47x111 Apr 9, 2025
3a3c73d
Automatic merge of master into galahad
OracleLabsAutomation Apr 9, 2025
0b9ea0c
Automatic merge of master into galahad
OracleLabsAutomation Apr 9, 2025
eabb0f0
Automatic merge of master into galahad
OracleLabsAutomation Apr 9, 2025
28d9429
Automatic merge of master into galahad
OracleLabsAutomation Apr 10, 2025
ce63b0c
Automatic merge of master into galahad
OracleLabsAutomation Apr 10, 2025
13ba777
Automatic merge of master into galahad
OracleLabsAutomation Apr 10, 2025
79f2870
update JVMCI to 25+18-jvmci-b01
OracleLabsAutomation Apr 11, 2025
e676673
Merge tag 'jdk-25+18' into labsjdk/adopt-25+18-master
jovanstevanovic Apr 12, 2025
7f18f60
Update JVMCI version.
jovanstevanovic Apr 12, 2025
2147030
Updata BasedOnJDK annotations.
jovanstevanovic Apr 14, 2025
0507c2e
Merge branch 'master' into labsjdk/adopt-25+18-master
jovanstevanovic Apr 14, 2025
65c6707
Fix a problem with merge.
jovanstevanovic Apr 14, 2025
28661a4
deploy labsjdk snapshots
marwan-hallaoui Apr 14, 2025
f7b7357
Update BasedOnJDK file annotations.
jovanstevanovic Apr 14, 2025
0a4c8cc
Disable TruffleSafepointTest#testStackTrace and #testSynchronous.
jovanstevanovic Apr 15, 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
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-25+17-1898", "platformspecific": true, "extrabundles": ["static-libs"]},
"galahad-jdk": {"name": "jpg-jdk", "version": "25", "build_id": "jdk-25+18-2095", "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 @@ -45,13 +45,13 @@

"oraclejdk23": {"name": "jpg-jdk", "version": "23", "build_id": "jdk-23+37", "platformspecific": true, "extrabundles": ["static-libs"]},

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

"eclipse": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ public final class JVMCIVersionCheck {
private static final Map<String, Map<String, Version>> JVMCI_MIN_VERSIONS = Map.of(
"21", Map.of(DEFAULT_VENDOR_ENTRY, createLegacyVersion(23, 1, 33)),
"25", Map.of(
"Oracle Corporation", createLabsJDKVersion("25+17", 1),
DEFAULT_VENDOR_ENTRY, createLabsJDKVersion("25+17", 1)));
"Oracle Corporation", createLabsJDKVersion("25+18", 1),
DEFAULT_VENDOR_ENTRY, createLabsJDKVersion("25+18", 1)));
private static final int NA = 0;
/**
* Minimum Java release supported by Graal.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,8 @@ public static AbiUtils singleton() {
* This method re-implements a part of the logic from the JDK so that we can get the callee-type
* (i.e. the ABI low-level type) of a function from its descriptor.
*/
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+11/src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java#L99")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+11/src/java.base/share/classes/jdk/internal/foreign/abi/DowncallLinker.java#L71-L85")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+18/src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java#L99")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+18/src/java.base/share/classes/jdk/internal/foreign/abi/DowncallLinker.java#L71-L85")
public NativeEntryPointInfo makeNativeEntrypoint(FunctionDescriptor desc, LinkerOptions linkerOptions) {
// From Linker.downcallHandle implemented in AbstractLinker.downcallHandle:
// From AbstractLinker.downcallHandle0
Expand All @@ -519,8 +519,8 @@ public NativeEntryPointInfo makeNativeEntrypoint(FunctionDescriptor desc, Linker
linkerOptions.allowsHeapAccess());
}

@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+11/src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java#L124")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+11/src/java.base/share/classes/jdk/internal/foreign/abi/UpcallLinker.java#L62-L110")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+18/src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java#L124")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+18/src/java.base/share/classes/jdk/internal/foreign/abi/UpcallLinker.java#L62-L110")
public JavaEntryPointInfo makeJavaEntryPoint(FunctionDescriptor desc, LinkerOptions linkerOptions) {
// Linker.upcallStub implemented in AbstractLinker.upcallStub
MethodType type = desc.toMethodType();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
import com.oracle.svm.core.util.BasedOnJDKFile;

public final class PosixAttachListenerThread extends AttachListenerThread {
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+3/src/hotspot/os/aix/attachListener_aix.cpp#L82") //
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+18/src/hotspot/os/aix/attachListener_aix.cpp#L82") //
private static final String PROTOCOL_VERSION = "1";
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+3/src/hotspot/os/aix/attachListener_aix.cpp#L269") //
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+18/src/hotspot/os/aix/attachListener_aix.cpp#L269") //
private static final int VERSION_SIZE = 8;
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+3/src/hotspot/os/aix/attachListener_aix.cpp#L85") //
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+18/src/hotspot/os/aix/attachListener_aix.cpp#L85") //
private static final int ATTACH_ERROR_BAD_VERSION = 101;

/**
Expand Down Expand Up @@ -80,7 +80,7 @@ protected PosixAttachOperation dequeue() {
}

/** This method reads and processes a single request from the socket. */
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+3/src/hotspot/os/aix/attachListener_aix.cpp#L268-L359")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+18/src/hotspot/os/aix/attachListener_aix.cpp#L268-L359")
private static PosixAttachOperation readRequest(int socket) {
int strCount = 0;
int[] stringEnds = new int[EXPECTED_STRING_COUNT];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
// The following annotations are for files in `src/hotspot`, which are copied from the JDK
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/java.base/share/native/include/jni.h")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+6/src/java.base/unix/native/include/jni_md.h")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/os/linux/cgroupSubsystem_linux.cpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/os/linux/cgroupSubsystem_linux.hpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+18/src/hotspot/os/linux/cgroupSubsystem_linux.cpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+18/src/hotspot/os/linux/cgroupSubsystem_linux.hpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/os/linux/cgroupUtil_linux.cpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/os/linux/cgroupUtil_linux.hpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/os/linux/cgroupV1Subsystem_linux.cpp")
Expand All @@ -64,7 +64,7 @@
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/os/linux/os_linux.hpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/os/linux/os_linux.inline.hpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/os/posix/include/jvm_md.h")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/os/posix/os_posix.cpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+18/src/hotspot/os/posix/os_posix.cpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/os/posix/os_posix.hpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/os/posix/os_posix.inline.hpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/share/memory/allocation.hpp")
Expand All @@ -80,8 +80,8 @@
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+16/src/hotspot/share/utilities/globalDefinitions_gcc.hpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+16/src/hotspot/share/utilities/globalDefinitions.hpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/share/utilities/macros.hpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/share/utilities/ostream.cpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/share/utilities/ostream.hpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+18/src/hotspot/share/utilities/ostream.cpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+18/src/hotspot/share/utilities/ostream.hpp")
// The following annotations are for files in `src/svm`, which are completely customized for SVM
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/share/logging/log.hpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+13/src/hotspot/share/memory/allocation.cpp")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,6 @@ public final class Target_java_lang_VirtualThread {
@TargetElement(onlyWith = JDK21OrEarlier.class) //
private static ScheduledExecutorService UNPARKER;

@Alias //
@InjectAccessors(DelayedTaskSchedulersAccessor.class) //
@TargetElement(onlyWith = JDKLatest.class) //
private static ScheduledExecutorService[] DELAYED_TASK_SCHEDULERS;

/** Go through {@link #nondefaultScheduler}. */
@Alias //
@InjectAccessors(SchedulerAccessor.class) //
Expand Down Expand Up @@ -134,10 +129,6 @@ public final class Target_java_lang_VirtualThread {
@TargetElement(onlyWith = JDK21OrEarlier.class)
private static native ScheduledExecutorService createDelayedTaskScheduler();

@Alias
@TargetElement(onlyWith = JDKLatest.class)
private static native ScheduledExecutorService[] createDelayedTaskSchedulers();

@SuppressWarnings("unused")
private static final class AlwaysFalseAccessor {
static boolean get(Target_java_lang_VirtualThread vt) {
Expand Down Expand Up @@ -192,28 +183,6 @@ private static synchronized ScheduledExecutorService initializeDelayedTaskSchedu
}
}

private static final class DelayedTaskSchedulersAccessor {
private static volatile ScheduledExecutorService[] delayedTaskSchedulers;

@SuppressWarnings("unused")
public static ScheduledExecutorService[] get() {
ScheduledExecutorService[] result = delayedTaskSchedulers;
if (result == null) {
result = initializeDelayedTaskScheduler();
}
return result;
}

private static synchronized ScheduledExecutorService[] initializeDelayedTaskScheduler() {
ScheduledExecutorService[] result = delayedTaskSchedulers;
if (result == null) {
result = createDelayedTaskSchedulers();
delayedTaskSchedulers = result;
}
return result;
}
}

@SuppressWarnings("unused")
private static final class SchedulerAccessor {
static Executor get(Target_java_lang_VirtualThread self) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
* capture.
*/
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+7/src/hotspot/share/prims/nativeEntryPoint.cpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+17/src/hotspot/cpu/x86/downcallLinker_x86_64.cpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+18/src/hotspot/cpu/x86/downcallLinker_x86_64.cpp")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+17/src/hotspot/cpu/aarch64/downcallLinker_aarch64.cpp")
class DowncallStub extends NonBytecodeMethod {
public static Signature createSignature(MetaAccessProvider metaAccess) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
import jdk.internal.foreign.abi.CapturableState;
import jdk.internal.foreign.layout.ValueLayouts;

@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+16/src/java.base/share/classes/jdk/internal/foreign/abi/LinkerOptions.java")
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-25+18/src/java.base/share/classes/jdk/internal/foreign/abi/LinkerOptions.java")
@Platforms(Platform.HOSTED_ONLY.class)
public class ForeignFunctionsConfigurationParser extends ConfigurationParser {
private static final String DOWNCALL_OPTION_CAPTURE_CALL_STATE = "captureCallState";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ protected void perform(Access inner) {
}

@Test
@Ignore("GR-64260")
public void testSynchronous() {
forEachConfig((threads, events) -> {
try (TestSetup setup = setupSafepointLoop(threads, (s, node) -> {
Expand Down Expand Up @@ -637,6 +638,7 @@ private static boolean isStopped(AtomicBoolean stopped) {
}

@Test
@Ignore("GR-64260")
public void testStackTrace() {
Assume.assumeFalse("JaCoCo break expected graph structure", TestUtils.isJaCoCoAttached());
forEachConfig((threads, events) -> {
Expand Down
Loading