Skip to content

Commit a148d79

Browse files
[GR-68382] Merge in tag jdk-26+9
PullRequest: labsjdk-ce/195
2 parents 9f5370f + e89e9b9 commit a148d79

File tree

371 files changed

+6417
-7952
lines changed

Some content is hidden

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

371 files changed

+6417
-7952
lines changed

.github/actions/get-msys2/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ runs:
3030
using: composite
3131
steps:
3232
- name: 'Install MSYS2'
33-
uses: msys2/[email protected]
33+
id: msys2
34+
uses: msys2/[email protected]
3435
with:
3536
install: 'autoconf tar unzip zip make'
3637
path-type: minimal
37-
location: ${{ runner.tool_cache }}/msys2
38+
release: false
3839

3940
# We can't run bash until this is completed, so stick with pwsh
4041
- name: 'Set MSYS2 path'
4142
run: |
42-
# Prepend msys2/msys64/usr/bin to the PATH
43-
echo "$env:RUNNER_TOOL_CACHE/msys2/msys64/usr/bin" >> $env:GITHUB_PATH
43+
echo "${{ steps.msys2.outputs.msys2-location }}/usr/bin" >> $env:GITHUB_PATH
4444
shell: pwsh

.github/workflows/build-cross-compile.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,26 +64,26 @@ jobs:
6464
gnu-arch: aarch64
6565
debian-arch: arm64
6666
debian-repository: https://httpredir.debian.org/debian/
67-
debian-version: bullseye
67+
debian-version: bookworm
6868
tolerate-sysroot-errors: false
6969
- target-cpu: arm
7070
gnu-arch: arm
7171
debian-arch: armhf
7272
debian-repository: https://httpredir.debian.org/debian/
73-
debian-version: bullseye
73+
debian-version: bookworm
7474
tolerate-sysroot-errors: false
7575
gnu-abi: eabihf
7676
- target-cpu: s390x
7777
gnu-arch: s390x
7878
debian-arch: s390x
7979
debian-repository: https://httpredir.debian.org/debian/
80-
debian-version: bullseye
80+
debian-version: bookworm
8181
tolerate-sysroot-errors: false
8282
- target-cpu: ppc64le
8383
gnu-arch: powerpc64le
8484
debian-arch: ppc64el
8585
debian-repository: https://httpredir.debian.org/debian/
86-
debian-version: bullseye
86+
debian-version: bookworm
8787
tolerate-sysroot-errors: false
8888
- target-cpu: riscv64
8989
gnu-arch: riscv64

bin/unshuffle_list.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2014, 2025, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -78,7 +78,6 @@ src/jdk.jdi : jdk/src/jdk.jdi
7878
src/jdk.jdwp.agent : jdk/src/jdk.jdwp.agent
7979
src/jdk.jlink : jdk/src/jdk.jlink
8080
src/jdk.jshell : langtools/src/jdk.jshell
81-
src/jdk.jsobject : jdk/src/jdk.jsobject
8281
src/jdk.jstatd : jdk/src/jdk.jstatd
8382
src/jdk.localedata : jdk/src/jdk.localedata
8483
src/jdk.management : jdk/src/jdk.management

make/autoconf/flags-cflags.m4

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -736,8 +736,15 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
736736
$1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -mminimal-toc"
737737
elif test "x$FLAGS_CPU" = xppc64le; then
738738
# Little endian machine uses ELFv2 ABI.
739-
# Use Power8, this is the first CPU to support PPC64 LE with ELFv2 ABI.
740-
$1_CFLAGS_CPU="-mcpu=power8 -mtune=power10"
739+
# Use Power8 for target cpu, this is the first CPU to support PPC64 LE with ELFv2 ABI.
740+
# Use Power10 for tuning target, this is supported by gcc >= 10
741+
POWER_TUNE_VERSION="-mtune=power10"
742+
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${POWER_TUNE_VERSION}],
743+
IF_FALSE: [
744+
POWER_TUNE_VERSION="-mtune=power8"
745+
]
746+
)
747+
$1_CFLAGS_CPU="-mcpu=power8 ${POWER_TUNE_VERSION}"
741748
$1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2"
742749
fi
743750
elif test "x$FLAGS_CPU" = xs390x; then

make/conf/docs-modules.conf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2014, 2025, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -51,7 +51,6 @@ DOCS_MODULES= \
5151
jdk.jdwp.agent \
5252
jdk.jfr \
5353
jdk.jlink \
54-
jdk.jsobject \
5554
jdk.jshell \
5655
jdk.jstatd \
5756
jdk.localedata \

make/conf/module-loader-map.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ UPGRADEABLE_PLATFORM_MODULES= \
6262
java.compiler \
6363
jdk.graal.compiler \
6464
jdk.graal.compiler.management \
65-
jdk.jsobject \
6665
#
6766

6867
PLATFORM_MODULES= \

src/hotspot/cpu/aarch64/gc/shenandoah/shenandoahBarrierSetAssembler_aarch64.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ void ShenandoahBarrierSetAssembler::load_reference_barrier(MacroAssembler* masm,
292292
} else {
293293
assert(is_phantom, "only remaining strength");
294294
assert(!is_narrow, "phantom access cannot be narrow");
295-
__ mov(lr, CAST_FROM_FN_PTR(address, ShenandoahRuntime::load_reference_barrier_phantom));
295+
// AOT saved adapters need relocation for this call.
296+
__ lea(lr, RuntimeAddress(CAST_FROM_FN_PTR(address, ShenandoahRuntime::load_reference_barrier_phantom)));
296297
}
297298
__ blr(lr);
298299
__ mov(rscratch1, r0);

src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2732,8 +2732,11 @@ class StubGenerator: public StubCodeGenerator {
27322732
address entry_jlong_arraycopy;
27332733
address entry_checkcast_arraycopy;
27342734

2735-
address ucm_common_error_exit = generate_unsafecopy_common_error_exit();
2736-
UnsafeMemoryAccess::set_common_exit_stub_pc(ucm_common_error_exit);
2735+
// generate the common exit first so later stubs can rely on it if
2736+
// they want an UnsafeMemoryAccess exit non-local to the stub
2737+
StubRoutines::_unsafecopy_common_exit = generate_unsafecopy_common_error_exit();
2738+
// register the stub as the default exit with class UnsafeMemoryAccess
2739+
UnsafeMemoryAccess::set_common_exit_stub_pc(StubRoutines::_unsafecopy_common_exit);
27372740

27382741
generate_copy_longs(StubId::stubgen_copy_byte_f_id, IN_HEAP | IS_ARRAY, copy_f, r0, r1, r15);
27392742
generate_copy_longs(StubId::stubgen_copy_byte_b_id, IN_HEAP | IS_ARRAY, copy_b, r0, r1, r15);
@@ -11680,8 +11683,6 @@ class StubGenerator: public StubCodeGenerator {
1168011683
}
1168111684

1168211685
if (UseCRC32Intrinsics) {
11683-
// set table address before stub generation which use it
11684-
StubRoutines::_crc_table_adr = (address)StubRoutines::aarch64::_crc_table;
1168511686
StubRoutines::_updateBytesCRC32 = generate_updateBytesCRC32();
1168611687
}
1168711688

src/hotspot/cpu/aarch64/stubRoutines_aarch64.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ ATTRIBUTE_ALIGNED(64) uint32_t StubRoutines::aarch64::_dilithiumConsts[] =
7171
/**
7272
* crc_table[] from jdk/src/share/native/java/util/zip/zlib-1.2.5/crc32.h
7373
*/
74+
75+
address StubRoutines::crc_table_addr() { return (address)StubRoutines::aarch64::_crc_table; }
76+
address StubRoutines::crc32c_table_addr() { ShouldNotCallThis(); return nullptr; }
77+
7478
ATTRIBUTE_ALIGNED(4096) juint StubRoutines::aarch64::_crc_table[] =
7579
{
7680
// Table 0

src/hotspot/cpu/aarch64/stubRoutines_aarch64.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ enum platform_dependent_constants {
4747

4848
class aarch64 {
4949
friend class StubGenerator;
50+
friend class StubRoutines;
5051
#if INCLUDE_JVMCI
5152
friend class JVMCIVMStructs;
5253
#endif

0 commit comments

Comments
 (0)