Skip to content

Commit 917a51c

Browse files
committed
Merge branch 'master' into jdk-8365606-jlong-julong-refactor
2 parents e906490 + f73e56e commit 917a51c

File tree

877 files changed

+27546
-15016
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

877 files changed

+27546
-15016
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ NashornProfile.txt
2525
**/core.[0-9]*
2626
*.rej
2727
*.orig
28+
test/benchmarks/**/target

doc/testing.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ <h4 id="timeout_factor-1">TIMEOUT_FACTOR</h4>
450450
programmatically wait a certain amount of time will apply this factor.
451451
If we run in forced compilation mode (<code>-Xcomp</code>), the build
452452
system will automatically adjust this factor to compensate for less
453-
performance. Defaults to 1.</p>
453+
performance. Defaults to 4.</p>
454454
<h4 id="failure_handler_timeout">FAILURE_HANDLER_TIMEOUT</h4>
455455
<p>Sets the argument <code>-timeoutHandlerTimeout</code> for JTReg. The
456456
default value is 0. This is only valid if the failure handler is

doc/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ The `TIMEOUT_FACTOR` is forwarded to JTReg framework itself
387387
(`-timeoutFactor`). Also, some test cases that programmatically wait a
388388
certain amount of time will apply this factor. If we run in forced
389389
compilation mode (`-Xcomp`), the build system will automatically
390-
adjust this factor to compensate for less performance. Defaults to 1.
390+
adjust this factor to compensate for less performance. Defaults to 4.
391391

392392
#### FAILURE_HANDLER_TIMEOUT
393393

make/RunTests.gmk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -946,8 +946,8 @@ define SetupRunJtregTestBody
946946
JTREG_ALL_OPTIONS := $$(JTREG_JAVA_OPTIONS) $$(JTREG_VM_OPTIONS)
947947

948948
JTREG_AUTO_PROBLEM_LISTS :=
949-
# Please reach consensus before changing this. It was not easy changing it to a `1`.
950-
JTREG_AUTO_TIMEOUT_FACTOR := 1
949+
# Please reach consensus before changing this.
950+
JTREG_AUTO_TIMEOUT_FACTOR := 4
951951

952952
ifneq ($$(findstring -Xcomp, $$(JTREG_ALL_OPTIONS)), )
953953
JTREG_AUTO_PROBLEM_LISTS += ProblemList-Xcomp.txt

make/StaticLibs.gmk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ else ifeq ($(call isTargetOs, aix), true)
116116
$(eval STATIC_LIB_EXPORT_FILES += $(lib).exp) \
117117
)
118118
STATIC_LIBS := -Wl,-bexpfull $(STATIC_LIB_FILES) $(addprefix -Wl$(COMMA)-bE:, $(STATIC_LIB_EXPORT_FILES))
119+
ifeq ($(DEBUG_LEVEL), slowdebug)
120+
STATIC_LIBS += -Wl,-bbigtoc
121+
endif
119122
else
120123
$(error Unsupported platform)
121124
endif

make/autoconf/boot-jdk.m4

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -408,27 +408,6 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
408408
AC_MSG_CHECKING([if Boot JDK is 32 or 64 bits])
409409
AC_MSG_RESULT([$BOOT_JDK_BITS])
410410
411-
# Try to enable CDS
412-
AC_MSG_CHECKING([for local Boot JDK Class Data Sharing (CDS)])
413-
BOOT_JDK_CDS_ARCHIVE=$CONFIGURESUPPORT_OUTPUTDIR/classes.jsa
414-
UTIL_ADD_JVM_ARG_IF_OK([-XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces -XX:SharedArchiveFile=$BOOT_JDK_CDS_ARCHIVE],boot_jdk_cds_args,[$JAVA])
415-
416-
if test "x$boot_jdk_cds_args" != x; then
417-
# Try creating a CDS archive
418-
$JAVA $boot_jdk_cds_args -Xshare:dump > /dev/null 2>&1
419-
if test $? -eq 0; then
420-
BOOTJDK_USE_LOCAL_CDS=true
421-
AC_MSG_RESULT([yes, created])
422-
else
423-
# Generation failed, don't use CDS.
424-
BOOTJDK_USE_LOCAL_CDS=false
425-
AC_MSG_RESULT([no, creation failed])
426-
fi
427-
else
428-
BOOTJDK_USE_LOCAL_CDS=false
429-
AC_MSG_RESULT([no, -XX:SharedArchiveFile not supported])
430-
fi
431-
432411
BOOTJDK_SETUP_CLASSPATH
433412
])
434413

@@ -447,14 +426,6 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK_ARGUMENTS],
447426
UTIL_ADD_JVM_ARG_IF_OK([-Xlog:all=off:stdout],boot_jdk_jvmargs,[$JAVA])
448427
UTIL_ADD_JVM_ARG_IF_OK([-Xlog:all=warning:stderr],boot_jdk_jvmargs,[$JAVA])
449428
450-
if test "x$BOOTJDK_USE_LOCAL_CDS" = xtrue; then
451-
# Use our own CDS archive
452-
UTIL_ADD_JVM_ARG_IF_OK([$boot_jdk_cds_args -Xshare:auto],boot_jdk_jvmargs,[$JAVA])
453-
else
454-
# Otherwise optimistically use the system-wide one, if one is present
455-
UTIL_ADD_JVM_ARG_IF_OK([-Xshare:auto],boot_jdk_jvmargs,[$JAVA])
456-
fi
457-
458429
# Finally append user provided options to allow them to override.
459430
UTIL_ADD_JVM_ARG_IF_OK([$USER_BOOT_JDK_OPTIONS],boot_jdk_jvmargs,[$JAVA])
460431

make/autoconf/bootcycle-spec.gmk.template

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,3 @@ JAVAC_CMD := $(FIXPATH) $(BOOT_JDK)/bin/javac
4444
JAR_CMD := $(FIXPATH) $(BOOT_JDK)/bin/jar
4545
# The bootcycle JVM arguments may differ from the original boot jdk.
4646
JAVA_FLAGS_BIG := @BOOTCYCLE_JVM_ARGS_BIG@
47-
# Any CDS settings generated for the bootjdk are invalid in the bootcycle build.
48-
# By filtering out those JVM args, the bootcycle JVM will use its default
49-
# settings for CDS.
50-
JAVA_FLAGS := $(filter-out -XX:SharedArchiveFile% -Xshare%, $(JAVA_FLAGS))

make/autoconf/lib-tests.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
################################################################################
2929

3030
# Minimum supported versions
31-
JTREG_MINIMUM_VERSION=8
31+
JTREG_MINIMUM_VERSION=8.1
3232
GTEST_MINIMUM_VERSION=1.14.0
3333

3434
################################################################################

make/conf/github-actions.conf

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,24 @@
2626
# Versions and download locations for dependencies used by GitHub Actions (GHA)
2727

2828
GTEST_VERSION=1.14.0
29-
JTREG_VERSION=8+2
29+
JTREG_VERSION=8.1+1
3030

3131
LINUX_X64_BOOT_JDK_EXT=tar.gz
32-
LINUX_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk24/1f9ff9062db4449d8ca828c504ffae90/36/GPL/openjdk-24_linux-x64_bin.tar.gz
33-
LINUX_X64_BOOT_JDK_SHA256=88b090fa80c6c1d084ec9a755233967458788e2c0777ae2e172230c5c692d7ef
32+
LINUX_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk25/bd75d5f9689641da8e1daabeccb5528b/36/GPL/openjdk-25_linux-x64_bin.tar.gz
33+
LINUX_X64_BOOT_JDK_SHA256=59cdcaf255add4721de38eb411d4ecfe779356b61fb671aee63c7dec78054c2b
3434

3535
ALPINE_LINUX_X64_BOOT_JDK_EXT=tar.gz
36-
ALPINE_LINUX_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin24-binaries/releases/download/jdk-24%2B36/OpenJDK24U-jdk_x64_alpine-linux_hotspot_24_36.tar.gz
37-
ALPINE_LINUX_X64_BOOT_JDK_SHA256=a642608f0da78344ee6812fb1490b8bc1d7ad5a18064c70994d6f330568c51cb
36+
ALPINE_LINUX_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25%2B36/OpenJDK25U-jdk_x64_alpine-linux_hotspot_25_36.tar.gz
37+
ALPINE_LINUX_X64_BOOT_JDK_SHA256=637e47474d411ed86134f413af7d5fef4180ddb0bf556347b7e74a88cf8904c8
3838

3939
MACOS_AARCH64_BOOT_JDK_EXT=tar.gz
40-
MACOS_AARCH64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk24/1f9ff9062db4449d8ca828c504ffae90/36/GPL/openjdk-24_macos-aarch64_bin.tar.gz
41-
MACOS_AARCH64_BOOT_JDK_SHA256=f7133238a12714a62c5ad2bd4da6741130be1a82512065da9ca23dee26b2d3d3
40+
MACOS_AARCH64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk25/bd75d5f9689641da8e1daabeccb5528b/36/GPL/openjdk-25_macos-aarch64_bin.tar.gz
41+
MACOS_AARCH64_BOOT_JDK_SHA256=2006337bf326fdfdf6117081751ba38c1c8706d63419ecac7ff102ff7c776876
4242

4343
MACOS_X64_BOOT_JDK_EXT=tar.gz
44-
MACOS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk24/1f9ff9062db4449d8ca828c504ffae90/36/GPL/openjdk-24_macos-x64_bin.tar.gz
45-
MACOS_X64_BOOT_JDK_SHA256=6bbfb1d01741cbe55ab90299cb91464b695de9a3ace85c15131aa2f50292f321
44+
MACOS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk25/bd75d5f9689641da8e1daabeccb5528b/36/GPL/openjdk-25_macos-x64_bin.tar.gz
45+
MACOS_X64_BOOT_JDK_SHA256=47482ad9888991ecac9b2bcc131e2b53ff78aff275104cef85f66252308e8a09
4646

4747
WINDOWS_X64_BOOT_JDK_EXT=zip
48-
WINDOWS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk24/1f9ff9062db4449d8ca828c504ffae90/36/GPL/openjdk-24_windows-x64_bin.zip
49-
WINDOWS_X64_BOOT_JDK_SHA256=11d1d9f6ac272d5361c8a0bef01894364081c7fb1a6914c2ad2fc312ae83d63b
48+
WINDOWS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk25/bd75d5f9689641da8e1daabeccb5528b/36/GPL/openjdk-25_windows-x64_bin.zip
49+
WINDOWS_X64_BOOT_JDK_SHA256=85bcc178461e2cb3c549ab9ca9dfa73afd54c09a175d6510d0884071867137d3

make/conf/jib-profiles.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,8 @@ var getJibProfilesCommon = function (input, data) {
387387
};
388388
};
389389

390-
common.boot_jdk_version = "24";
391-
common.boot_jdk_build_number = "36";
390+
common.boot_jdk_version = "25";
391+
common.boot_jdk_build_number = "37";
392392
common.boot_jdk_home = input.get("boot_jdk", "install_path") + "/jdk-"
393393
+ common.boot_jdk_version
394394
+ (input.build_os == "macosx" ? ".jdk/Contents/Home" : "");
@@ -1174,9 +1174,9 @@ var getJibProfilesDependencies = function (input, common) {
11741174
jtreg: {
11751175
server: "jpg",
11761176
product: "jtreg",
1177-
version: "8",
1178-
build_number: "2",
1179-
file: "bundles/jtreg-8+2.zip",
1177+
version: "8.1",
1178+
build_number: "1",
1179+
file: "bundles/jtreg-8.1+1.zip",
11801180
environment_name: "JT_HOME",
11811181
environment_path: input.get("jtreg", "home_path") + "/bin",
11821182
configure_args: "--with-jtreg=" + input.get("jtreg", "home_path"),

0 commit comments

Comments
 (0)