Skip to content

Commit d3ab292

Browse files
committed
Merge
2 parents 9fb163d + b32d641 commit d3ab292

File tree

329 files changed

+8447
-3694
lines changed

Some content is hidden

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

329 files changed

+8447
-3694
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ jobs:
153153
sudo chown ${USER} -R sysroot
154154
rm -rf sysroot/{dev,proc,run,sys,var}
155155
rm -rf sysroot/usr/{sbin,bin,share}
156-
rm -rf sysroot/usr/lib/{apt,udev,systemd}
156+
rm -rf sysroot/usr/lib/{apt,gcc,udev,systemd}
157+
rm -rf sysroot/usr/libexec/gcc
157158
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
158159

159160
- name: 'Configure'

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Contributing to the JDK
22

3-
Please see <https://openjdk.org/contribute> for how to contribute.
3+
Please see the [OpenJDK Developers’ Guide](https://openjdk.org/guide/).

doc/building.html

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,8 @@ <h3 id="building-on-x86">Building on x86</h3>
324324
<p>Even for 32-bit builds, it is recommended to use a 64-bit build
325325
machine, and instead create a 32-bit target using
326326
<code>--with-target-bits=32</code>.</p>
327-
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in a future release.</p>
327+
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in
328+
a future release.</p>
328329
<h3 id="building-on-aarch64">Building on aarch64</h3>
329330
<p>At a minimum, a machine with 8 cores is advisable, as well as 8 GB of
330331
RAM. (The more cores to use, the more memory you need.) At least 6 GB of
@@ -401,7 +402,8 @@ <h3 id="windows">Windows</h3>
401402
use <code>--with-msvcr-dll=/cygdrive/c/msvcr100.dll</code> rather than
402403
<code>--with-msvcr-dll=c:\msvcr100.dll</code>. For details on this
403404
conversion, see the section on <a href="#fixpath">Fixpath</a>.</p>
404-
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in a future release.</p>
405+
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in
406+
a future release.</p>
405407
<h4 id="cygwin">Cygwin</h4>
406408
<p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment
407409
is required for building the JDK on Windows. If you have a 64-bit OS, we
@@ -1113,13 +1115,13 @@ <h2 id="running-tests">Running Tests</h2>
11131115
Test framework. The top directory, which contains both
11141116
<code>googletest</code> and <code>googlemock</code> directories, should
11151117
be specified via <code>--with-gtest</code>. The minimum supported
1116-
version of Google Test is 1.13.0, whose source code can be obtained:</p>
1118+
version of Google Test is 1.14.0, whose source code can be obtained:</p>
11171119
<ul>
11181120
<li>by downloading and unpacking the source bundle from <a
1119-
href="https://github.com/google/googletest/releases/tag/v1.13.0">here</a></li>
1120-
<li>or by checking out <code>v1.13.0</code> tag of
1121+
href="https://github.com/google/googletest/releases/tag/v1.14.0">here</a></li>
1122+
<li>or by checking out <code>v1.14.0</code> tag of
11211123
<code>googletest</code> project:
1122-
<code>git clone -b v1.13.0 https://github.com/google/googletest</code></li>
1124+
<code>git clone -b v1.14.0 https://github.com/google/googletest</code></li>
11231125
</ul>
11241126
<p>To execute the most basic tests (tier 1), use:</p>
11251127
<pre><code>make run-test-tier1</code></pre>
@@ -2255,18 +2257,7 @@ <h2 id="contributing-to-the-jdk">Contributing to the JDK</h2>
22552257
must ask you to follow our rules and guidelines to be able to accept
22562258
your contribution.</p>
22572259
<p>The official place to start is the <a
2258-
href="http://openjdk.org/contribute/">'How to contribute' page</a>.
2259-
There is also an official (but somewhat outdated and skimpy on details)
2260-
<a href="http://openjdk.org/guide/">Developer's Guide</a>.</p>
2261-
<p>If this seems overwhelming to you, the Adoption Group is there to
2262-
help you! A good place to start is their <a
2263-
href="https://wiki.openjdk.org/display/Adoption/New+Contributor">'New
2264-
Contributor' page</a>, or start reading the comprehensive <a
2265-
href="https://adoptopenjdk.gitbooks.io/adoptopenjdk-getting-started-kit/en/">Getting
2266-
Started Kit</a>. The Adoption Group will also happily answer any
2267-
questions you have about contributing. Contact them by <a
2268-
href="http://mail.openjdk.org/mailman/listinfo/adoption-discuss">mail</a>
2269-
or <a href="http://openjdk.org/irc/">IRC</a>.</p>
2260+
href="https://openjdk.org/guide/">OpenJDK Developers’ Guide</a>.</p>
22702261
<h2 id="editing-this-document">Editing this document</h2>
22712262
<p>If you want to contribute changes to this document, edit
22722263
<code>doc/building.md</code> and then run

doc/building.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -884,11 +884,11 @@ Download the latest `.tar.gz` file, unpack it, and point `--with-jtreg` to the
884884
Building of Hotspot Gtest suite requires the source code of Google
885885
Test framework. The top directory, which contains both `googletest`
886886
and `googlemock` directories, should be specified via `--with-gtest`.
887-
The minimum supported version of Google Test is 1.13.0, whose source
887+
The minimum supported version of Google Test is 1.14.0, whose source
888888
code can be obtained:
889889
890-
* by downloading and unpacking the source bundle from [here](https://github.com/google/googletest/releases/tag/v1.13.0)
891-
* or by checking out `v1.13.0` tag of `googletest` project: `git clone -b v1.13.0 https://github.com/google/googletest`
890+
* by downloading and unpacking the source bundle from [here](https://github.com/google/googletest/releases/tag/v1.14.0)
891+
* or by checking out `v1.14.0` tag of `googletest` project: `git clone -b v1.14.0 https://github.com/google/googletest`
892892
893893
To execute the most basic tests (tier 1), use:
894894
```
@@ -2032,20 +2032,7 @@ First of all: Thank you! We gladly welcome your contribution.
20322032
However, please bear in mind that the JDK is a massive project, and we must ask
20332033
you to follow our rules and guidelines to be able to accept your contribution.
20342034
2035-
The official place to start is the ['How to contribute' page](
2036-
http://openjdk.org/contribute/). There is also an official (but somewhat
2037-
outdated and skimpy on details) [Developer's Guide](
2038-
http://openjdk.org/guide/).
2039-
2040-
If this seems overwhelming to you, the Adoption Group is there to help you! A
2041-
good place to start is their ['New Contributor' page](
2042-
https://wiki.openjdk.org/display/Adoption/New+Contributor), or start
2043-
reading the comprehensive [Getting Started Kit](
2044-
https://adoptopenjdk.gitbooks.io/adoptopenjdk-getting-started-kit/en/). The
2045-
Adoption Group will also happily answer any questions you have about
2046-
contributing. Contact them by [mail](
2047-
http://mail.openjdk.org/mailman/listinfo/adoption-discuss) or [IRC](
2048-
http://openjdk.org/irc/).
2035+
The official place to start is the [OpenJDK Developers’ Guide](https://openjdk.org/guide/).
20492036
20502037
## Editing this document
20512038

make/autoconf/flags-other.m4

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,16 @@ AC_DEFUN([FLAGS_SETUP_RCFLAGS],
8888
AC_SUBST(RCFLAGS)
8989
])
9090

91+
AC_DEFUN([FLAGS_SETUP_NMFLAGS],
92+
[
93+
# On AIX, we need to set NM flag -X64 for processing 64bit object files
94+
if test "x$OPENJDK_TARGET_OS" = xaix; then
95+
NMFLAGS="-X64"
96+
fi
97+
98+
AC_SUBST(NMFLAGS)
99+
])
100+
91101
################################################################################
92102
# platform independent
93103
AC_DEFUN([FLAGS_SETUP_ASFLAGS],

make/autoconf/flags.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ AC_DEFUN([FLAGS_SETUP_FLAGS],
429429
FLAGS_SETUP_ARFLAGS
430430
FLAGS_SETUP_STRIPFLAGS
431431
FLAGS_SETUP_RCFLAGS
432+
FLAGS_SETUP_NMFLAGS
432433
433434
FLAGS_SETUP_ASFLAGS
434435
FLAGS_SETUP_ASFLAGS_CPU_DEP([TARGET])

make/autoconf/lib-tests.m4

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

3030
# Minimum supported versions
3131
JTREG_MINIMUM_VERSION=7.3
32-
GTEST_MINIMUM_VERSION=1.13.0
32+
GTEST_MINIMUM_VERSION=1.14.0
3333

3434
###############################################################################
3535
#

make/autoconf/spec.gmk.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,7 @@ AR := @AR@
606606
ARFLAGS:=@ARFLAGS@
607607

608608
NM:=@NM@
609+
NMFLAGS:=@NMFLAGS@
609610
STRIP:=@STRIP@
610611
OBJDUMP:=@OBJDUMP@
611612
CXXFILT:=@CXXFILT@

make/common/NativeCompilation.gmk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ define GetSymbols
4848
$(SED) -e 's/#.*//;s/global://;s/local://;s/\;//;s/^[ ]*/_/;/^_$$$$/d' | \
4949
$(EGREP) -v "JNI_OnLoad|JNI_OnUnload|Agent_OnLoad|Agent_OnUnload|Agent_OnAttach" > \
5050
$$(@D)/$$(basename $$(@F)).symbols || true; \
51-
$(NM) $$($1_TARGET) | $(GREP) " T " | \
51+
$(NM) $(NMFLAGS) $$($1_TARGET) | $(GREP) " T " | \
5252
$(EGREP) "JNI_OnLoad|JNI_OnUnload|Agent_OnLoad|Agent_OnUnload|Agent_OnAttach" | \
5353
$(CUT) -d ' ' -f 3 >> $$(@D)/$$(basename $$(@F)).symbols || true;\
5454
else \
5555
$(ECHO) "Getting symbols from nm"; \
56-
$(NM) -m $$($1_TARGET) | $(GREP) "__TEXT" | \
56+
$(NM) $(NMFLAGS) -m $$($1_TARGET) | $(GREP) "__TEXT" | \
5757
$(EGREP) -v "non-external|private extern|__TEXT,__eh_frame" | \
5858
$(SED) -e 's/.* //' > $$(@D)/$$(basename $$(@F)).symbols; \
5959
fi

make/conf/github-actions.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
# Versions and download locations for dependencies used by GitHub Actions (GHA)
2727

28-
GTEST_VERSION=1.13.0
28+
GTEST_VERSION=1.14.0
2929
JTREG_VERSION=7.3+1
3030

3131
LINUX_X64_BOOT_JDK_EXT=tar.gz

0 commit comments

Comments
 (0)