Skip to content

Commit cc278b0

Browse files
authored
Merge pull request SAP#2087 from SAP/pr-jdk-26+22
Merge to tag jdk-26+22
2 parents c8d5cbe + 17fd801 commit cc278b0

File tree

466 files changed

+10199
-5727
lines changed

Some content is hidden

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

466 files changed

+10199
-5727
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

make/hotspot/lib/CompileJvm.gmk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ ifeq ($(call isTargetOs, windows), true)
158158
WIN_EXPORT_FILE := $(JVM_OUTPUTDIR)/win-exports.def
159159
endif
160160

161+
ifeq ($(SHIP_DEBUG_SYMBOLS), public)
162+
CFLAGS_STRIPPED_DEBUGINFO := -DHAS_STRIPPED_DEBUGINFO
163+
endif
164+
161165
JVM_LDFLAGS += -def:$(WIN_EXPORT_FILE)
162166
endif
163167

@@ -183,6 +187,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJVM, \
183187
CFLAGS := $(JVM_CFLAGS), \
184188
abstract_vm_version.cpp_CXXFLAGS := $(CFLAGS_VM_VERSION), \
185189
arguments.cpp_CXXFLAGS := $(CFLAGS_VM_VERSION), \
190+
whitebox.cpp_CXXFLAGS := $(CFLAGS_STRIPPED_DEBUGINFO), \
186191
DISABLED_WARNINGS_gcc := $(DISABLED_WARNINGS_gcc), \
187192
DISABLED_WARNINGS_gcc_ad_$(HOTSPOT_TARGET_CPU_ARCH).cpp := nonnull, \
188193
DISABLED_WARNINGS_gcc_bytecodeInterpreter.cpp := unused-label, \

make/langtools/tools/javacserver/server/CompilerThreadPool.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2024, 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
@@ -61,7 +61,7 @@ public void shutdown() {
6161
} catch (InterruptedException ie) {
6262
// (Re-)Cancel if current thread also interrupted
6363
pool.shutdownNow();
64-
// Preserve interrupt status
64+
// Preserve interrupted status
6565
Thread.currentThread().interrupt();
6666
}
6767
}

src/hotspot/cpu/aarch64/c1_globals_aarch64.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ define_pd_global(size_t, CodeCacheExpansionSize, 32*K );
5353
define_pd_global(size_t, CodeCacheMinBlockLength, 1);
5454
define_pd_global(size_t, CodeCacheMinimumUseSpace, 400*K);
5555
define_pd_global(bool, NeverActAsServerClassMachine, true );
56-
define_pd_global(uint64_t,MaxRAM, 1ULL*G);
5756
define_pd_global(bool, CICompileOSR, true );
5857
#endif // !COMPILER2
5958
define_pd_global(bool, UseTypeProfile, false);

src/hotspot/cpu/aarch64/c2_globals_aarch64.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ define_pd_global(size_t, InitialCodeCacheSize, 2496*K); // Integral multip
5555
define_pd_global(size_t, CodeCacheExpansionSize, 64*K);
5656

5757
// Ergonomics related flags
58-
define_pd_global(uint64_t,MaxRAM, 128ULL*G);
5958
define_pd_global(intx, RegisterCostAreaRatio, 16000);
6059

6160
// Peephole and CISC spilling both break the graph, and so makes the

src/hotspot/cpu/arm/c1_globals_arm.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ define_pd_global(size_t, CodeCacheExpansionSize, 32*K );
5454
define_pd_global(size_t, CodeCacheMinBlockLength, 1);
5555
define_pd_global(size_t, CodeCacheMinimumUseSpace, 400*K);
5656
define_pd_global(bool, NeverActAsServerClassMachine, true);
57-
define_pd_global(uint64_t, MaxRAM, 1ULL*G);
5857
define_pd_global(bool, CICompileOSR, true );
5958
#endif // COMPILER2
6059
define_pd_global(bool, UseTypeProfile, false);

src/hotspot/cpu/arm/c2_globals_arm.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ define_pd_global(size_t, NonProfiledCodeHeapSize, 21*M);
8080
define_pd_global(size_t, ProfiledCodeHeapSize, 22*M);
8181
define_pd_global(size_t, NonNMethodCodeHeapSize, 5*M );
8282
define_pd_global(size_t, CodeCacheExpansionSize, 64*K);
83-
84-
// Ergonomics related flags
85-
define_pd_global(uint64_t, MaxRAM, 128ULL*G);
8683
#else
8784
// InitialCodeCacheSize derived from specjbb2000 run.
8885
define_pd_global(size_t, InitialCodeCacheSize, 1536*K); // Integral multiple of CodeCacheExpansionSize
@@ -91,8 +88,6 @@ define_pd_global(size_t, NonProfiledCodeHeapSize, 13*M);
9188
define_pd_global(size_t, ProfiledCodeHeapSize, 14*M);
9289
define_pd_global(size_t, NonNMethodCodeHeapSize, 5*M );
9390
define_pd_global(size_t, CodeCacheExpansionSize, 32*K);
94-
// Ergonomics related flags
95-
define_pd_global(uint64_t, MaxRAM, 4ULL*G);
9691
#endif
9792
define_pd_global(size_t, CodeCacheMinBlockLength, 6);
9893
define_pd_global(size_t, CodeCacheMinimumUseSpace, 400*K);

src/hotspot/cpu/ppc/c1_globals_ppc.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ define_pd_global(size_t, CodeCacheMinBlockLength, 1);
5353
define_pd_global(size_t, CodeCacheMinimumUseSpace, 400*K);
5454
define_pd_global(bool, NeverActAsServerClassMachine, true);
5555
define_pd_global(size_t, NewSizeThreadIncrease, 16*K);
56-
define_pd_global(uint64_t, MaxRAM, 1ULL*G);
5756
define_pd_global(size_t, InitialCodeCacheSize, 160*K);
5857
#endif // !COMPILER2
5958

src/hotspot/cpu/ppc/c2_globals_ppc.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ define_pd_global(size_t, NonNMethodCodeHeapSize, 5*M );
8686
define_pd_global(size_t, CodeCacheExpansionSize, 64*K);
8787

8888
// Ergonomics related flags
89-
define_pd_global(uint64_t, MaxRAM, 128ULL*G);
9089
define_pd_global(size_t, CodeCacheMinBlockLength, 6);
9190
define_pd_global(size_t, CodeCacheMinimumUseSpace, 400*K);
9291

src/hotspot/cpu/ppc/ppc.ad

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12381,27 +12381,27 @@ instruct countTrailingZerosL_cnttzd(iRegIdst dst, iRegLsrc src) %{
1238112381
%}
1238212382

1238312383
// Expand nodes for byte_reverse_int.
12384-
instruct insrwi_a(iRegIdst dst, iRegIsrc src, immI16 pos, immI16 shift) %{
12385-
effect(DEF dst, USE src, USE pos, USE shift);
12384+
instruct insrwi_a(iRegIdst dst, iRegIsrc src, immI16 n, immI16 b) %{
12385+
effect(DEF dst, USE src, USE n, USE b);
1238612386
predicate(false);
1238712387

12388-
format %{ "INSRWI $dst, $src, $pos, $shift" %}
12388+
format %{ "INSRWI $dst, $src, $n, $b" %}
1238912389
size(4);
1239012390
ins_encode %{
12391-
__ insrwi($dst$$Register, $src$$Register, $shift$$constant, $pos$$constant);
12391+
__ insrwi($dst$$Register, $src$$Register, $n$$constant, $b$$constant);
1239212392
%}
1239312393
ins_pipe(pipe_class_default);
1239412394
%}
1239512395

1239612396
// As insrwi_a, but with USE_DEF.
12397-
instruct insrwi(iRegIdst dst, iRegIsrc src, immI16 pos, immI16 shift) %{
12398-
effect(USE_DEF dst, USE src, USE pos, USE shift);
12397+
instruct insrwi(iRegIdst dst, iRegIsrc src, immI16 n, immI16 b) %{
12398+
effect(USE_DEF dst, USE src, USE n, USE b);
1239912399
predicate(false);
1240012400

12401-
format %{ "INSRWI $dst, $src, $pos, $shift" %}
12401+
format %{ "INSRWI $dst, $src, $n, $b" %}
1240212402
size(4);
1240312403
ins_encode %{
12404-
__ insrwi($dst$$Register, $src$$Register, $shift$$constant, $pos$$constant);
12404+
__ insrwi($dst$$Register, $src$$Register, $n$$constant, $b$$constant);
1240512405
%}
1240612406
ins_pipe(pipe_class_default);
1240712407
%}
@@ -12423,12 +12423,12 @@ instruct bytes_reverse_int_Ex(iRegIdst dst, iRegIsrc src) %{
1242312423
iRegLdst tmpI3;
1242412424

1242512425
urShiftI_reg_imm(tmpI1, src, imm24);
12426-
insrwi_a(dst, tmpI1, imm24, imm8);
12426+
insrwi_a(dst, tmpI1, imm8, imm24);
1242712427
urShiftI_reg_imm(tmpI2, src, imm16);
12428-
insrwi(dst, tmpI2, imm8, imm16);
12428+
insrwi(dst, tmpI2, imm16, imm8);
1242912429
urShiftI_reg_imm(tmpI3, src, imm8);
1243012430
insrwi(dst, tmpI3, imm8, imm8);
12431-
insrwi(dst, src, imm0, imm8);
12431+
insrwi(dst, src, imm8, imm0);
1243212432
%}
1243312433
%}
1243412434

@@ -12546,7 +12546,7 @@ instruct bytes_reverse_ushort_Ex(iRegIdst dst, iRegIsrc src) %{
1254612546
immI16 imm8 %{ (int) 8 %}
1254712547

1254812548
urShiftI_reg_imm(dst, src, imm8);
12549-
insrwi(dst, src, imm16, imm8);
12549+
insrwi(dst, src, imm8, imm16);
1255012550
%}
1255112551
%}
1255212552

@@ -12575,7 +12575,7 @@ instruct bytes_reverse_short_Ex(iRegIdst dst, iRegIsrc src) %{
1257512575
iRegLdst tmpI1;
1257612576

1257712577
urShiftI_reg_imm(tmpI1, src, imm8);
12578-
insrwi(tmpI1, src, imm16, imm8);
12578+
insrwi(tmpI1, src, imm8, imm16);
1257912579
extsh(dst, tmpI1);
1258012580
%}
1258112581
%}

0 commit comments

Comments
 (0)