Skip to content

Commit ea285bd

Browse files
[GR-48605] Merge in tag jdk-22+15.
PullRequest: labsjdk-ce/14
2 parents 0a4cf3b + 7ea5fae commit ea285bd

File tree

1,384 files changed

+15808
-12085
lines changed

Some content is hidden

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

1,384 files changed

+15808
-12085
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ runs:
4040
var: GTEST_VERSION
4141

4242
- name: 'Checkout GTest source'
43-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
4444
with:
4545
repository: google/googletest
4646
ref: 'v${{ steps.version.outputs.value }}'

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ runs:
4747
key: jtreg-${{ steps.version.outputs.value }}
4848

4949
- name: 'Checkout the JTReg source'
50-
uses: actions/checkout@v3
50+
uses: actions/checkout@v4
5151
with:
5252
repository: openjdk/jtreg
5353
ref: jtreg-${{ steps.version.outputs.value }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585

8686
steps:
8787
- name: 'Checkout the JDK source'
88-
uses: actions/checkout@v3
88+
uses: actions/checkout@v4
8989

9090
- name: 'Get the BootJDK'
9191
id: bootjdk

.github/workflows/build-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878

7979
steps:
8080
- name: 'Checkout the JDK source'
81-
uses: actions/checkout@v3
81+
uses: actions/checkout@v4
8282

8383
- name: 'Get the BootJDK'
8484
id: bootjdk

.github/workflows/build-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868

6969
steps:
7070
- name: 'Checkout the JDK source'
71-
uses: actions/checkout@v3
71+
uses: actions/checkout@v4
7272

7373
- name: 'Get the BootJDK'
7474
id: bootjdk

.github/workflows/build-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979

8080
steps:
8181
- name: 'Checkout the JDK source'
82-
uses: actions/checkout@v3
82+
uses: actions/checkout@v4
8383

8484
- name: 'Get MSYS2'
8585
uses: ./.github/actions/get-msys2

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105

106106
steps:
107107
- name: 'Checkout the JDK source'
108-
uses: actions/checkout@v3
108+
uses: actions/checkout@v4
109109

110110
- name: 'Get MSYS2'
111111
uses: ./.github/actions/get-msys2

make/autoconf/flags-cflags.m4

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,8 +560,10 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
560560
TOOLCHAIN_CFLAGS_JVM="-qtbtable=full -qtune=balanced -fno-exceptions \
561561
-qalias=noansi -qstrict -qtls=default -qnortti -qnoeh -qignerrno -qstackprotect"
562562
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
563-
TOOLCHAIN_CFLAGS_JVM="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:inline -MP"
564-
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:inline -Zc:wchar_t-"
563+
# The -utf-8 option sets source and execution character sets to UTF-8 to enable correct
564+
# compilation of all source files regardless of the active code page on Windows.
565+
TOOLCHAIN_CFLAGS_JVM="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:inline -utf-8 -MP"
566+
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:inline -utf-8 -Zc:wchar_t-"
565567
fi
566568
567569
# CFLAGS C language level for JDK sources (hotspot only uses C++)

make/common/TestFilesCompilation.gmk

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,15 @@ define SetupTestFilesCompilationBody
8787

8888
$1_BUILD_INFO := $$($1_OUTPUT_DIR)/_$1-build-info.marker
8989

90+
# Tests are built with internal debug symbols where supported.
91+
# With Visual Studio or on macosx, we revert to external.
92+
$1_COPY_DEBUG_SYMBOLS := false
93+
ifeq ($(TOOLCHAIN_TYPE), microsoft)
94+
$1_COPY_DEBUG_SYMBOLS := true
95+
else ifeq ($(call isTargetOs, macosx), true)
96+
$1_COPY_DEBUG_SYMBOLS := true
97+
endif
98+
9099
# Setup a compilation for each and every one of them
91100
$$(foreach file, $$($1_FILTERED_FILE_LIST),\
92101
$$(eval name := $$(strip $$(basename $$(notdir $$(file))))) \
@@ -106,7 +115,7 @@ define SetupTestFilesCompilationBody
106115
LIBS := $$($1_LIBS_$$(name)), \
107116
TOOLCHAIN := $(if $$(filter %.cpp, $$(file)), TOOLCHAIN_LINK_CXX, TOOLCHAIN_DEFAULT), \
108117
OPTIMIZATION := $$(if $$($1_OPTIMIZATION_$$(name)),$$($1_OPTIMIZATION_$$(name)),LOW), \
109-
COPY_DEBUG_SYMBOLS := $$(if $$($1_COPY_DEBUG_SYMBOLS_$$(name)),$$($1_COPY_DEBUG_SYMBOLS_$$(name)),false), \
118+
COPY_DEBUG_SYMBOLS := $$($1_COPY_DEBUG_SYMBOLS), \
110119
STRIP_SYMBOLS := $$(if $$($1_STRIP_SYMBOLS_$$(name)),$$($1_STRIP_SYMBOLS_$$(name)),false), \
111120
BUILD_INFO_LOG_MACRO := LogInfo, \
112121
)) \

make/data/hotspot-symbols/symbols-unix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ JVM_DumpAllStacks
5757
JVM_DumpClassListToFile
5858
JVM_DumpDynamicArchive
5959
JVM_DumpThreads
60+
JVM_ExpandStackFrameInfo
6061
JVM_FillInStackTrace
6162
JVM_FindClassFromCaller
6263
JVM_FindClassFromClass

0 commit comments

Comments
 (0)