Skip to content

Commit 22b5015

Browse files
Merge tag 'jdk-24+17' into labsjdk/adopt-jdk-24+17-master
Added tag jdk-24+17 for changeset 10da2c2
2 parents 93aa7f1 + 10da2c2 commit 22b5015

File tree

400 files changed

+15204
-4635
lines changed

Some content is hidden

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

400 files changed

+15204
-4635
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ jobs:
384384
- build-windows-aarch64
385385
- test-linux-x64
386386
- test-macos-x64
387+
- test-macos-aarch64
387388
- test-windows-x64
388389

389390
steps:

SECURITY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# JDK Vulnerabilities
2+
3+
Please follow the process outlined in the [OpenJDK Vulnerability Policy](https://openjdk.org/groups/vulnerability/report) to disclose vulnerabilities in the JDK.

doc/building.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -614,10 +614,9 @@ <h3 id="clang">clang</h3>
614614
<code>--with-toolchain-type=clang</code>.</p>
615615
<h3 id="apple-xcode">Apple Xcode</h3>
616616
<p>The oldest supported version of Xcode is 13.0.</p>
617-
<p>You will need the Xcode command line developer tools to be able to
618-
build the JDK. (Actually, <em>only</em> the command line tools are
619-
needed, not the IDE.) The simplest way to install these is to run:</p>
620-
<pre><code>xcode-select --install</code></pre>
617+
<p>You will need to download Xcode either from the App Store or specific
618+
versions can be easily located via the <a
619+
href="https://xcodereleases.com">Xcode Releases</a> website.</p>
621620
<p>When updating Xcode, it is advisable to keep an older version for
622621
building the JDK. To use a specific version of Xcode you have multiple
623622
options:</p>

doc/building.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -422,13 +422,9 @@ To use clang instead of gcc on Linux, use `--with-toolchain-type=clang`.
422422

423423
The oldest supported version of Xcode is 13.0.
424424

425-
You will need the Xcode command line developer tools to be able to build the
426-
JDK. (Actually, *only* the command line tools are needed, not the IDE.) The
427-
simplest way to install these is to run:
428-
429-
```
430-
xcode-select --install
431-
```
425+
You will need to download Xcode either from the App Store or specific versions
426+
can be easily located via the [Xcode Releases](https://xcodereleases.com)
427+
website.
432428

433429
When updating Xcode, it is advisable to keep an older version for building the
434430
JDK. To use a specific version of Xcode you have multiple options:

src/hotspot/cpu/aarch64/aarch64.ad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,7 @@ source %{
12441244

12451245
// r27 is not allocatable when compressed oops is on and heapbase is not
12461246
// zero, compressed klass pointers doesn't use r27 after JDK-8234794
1247-
if (UseCompressedOops && (CompressedOops::ptrs_base() != nullptr)) {
1247+
if (UseCompressedOops && (CompressedOops::base() != nullptr)) {
12481248
_NO_SPECIAL_REG32_mask.Remove(OptoReg::as_OptoReg(r27->as_VMReg()));
12491249
_NO_SPECIAL_REG_mask.Remove(OptoReg::as_OptoReg(r27->as_VMReg()));
12501250
_NO_SPECIAL_PTR_REG_mask.Remove(OptoReg::as_OptoReg(r27->as_VMReg()));

src/hotspot/cpu/aarch64/gc/z/zAddress_aarch64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static size_t probe_valid_max_address_bit() {
9393
}
9494

9595
size_t ZPlatformAddressOffsetBits() {
96-
const static size_t valid_max_address_offset_bits = probe_valid_max_address_bit() + 1;
96+
static const size_t valid_max_address_offset_bits = probe_valid_max_address_bit() + 1;
9797
const size_t max_address_offset_bits = valid_max_address_offset_bits - 3;
9898
const size_t min_address_offset_bits = max_address_offset_bits - 2;
9999
const size_t address_offset = round_up_power_of_2(MaxHeapSize * ZVirtualToPhysicalRatio);

src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2967,7 +2967,7 @@ void MacroAssembler::verify_heapbase(const char* msg) {
29672967
if (CheckCompressedOops) {
29682968
Label ok;
29692969
push(1 << rscratch1->encoding(), sp); // cmpptr trashes rscratch1
2970-
cmpptr(rheapbase, ExternalAddress(CompressedOops::ptrs_base_addr()));
2970+
cmpptr(rheapbase, ExternalAddress(CompressedOops::base_addr()));
29712971
br(Assembler::EQ, ok);
29722972
stop(msg);
29732973
bind(ok);
@@ -3133,9 +3133,9 @@ void MacroAssembler::reinit_heapbase()
31333133
{
31343134
if (UseCompressedOops) {
31353135
if (Universe::is_fully_initialized()) {
3136-
mov(rheapbase, CompressedOops::ptrs_base());
3136+
mov(rheapbase, CompressedOops::base());
31373137
} else {
3138-
lea(rheapbase, ExternalAddress(CompressedOops::ptrs_base_addr()));
3138+
lea(rheapbase, ExternalAddress(CompressedOops::base_addr()));
31393139
ldr(rheapbase, Address(rheapbase));
31403140
}
31413141
}

src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
#include "runtime/sharedRuntime.hpp"
5050
#include "runtime/signature.hpp"
5151
#include "runtime/stubRoutines.hpp"
52+
#include "runtime/timerTrace.hpp"
5253
#include "runtime/vframeArray.hpp"
5354
#include "utilities/align.hpp"
5455
#include "utilities/formatBuffer.hpp"

src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,6 @@ int TemplateInterpreter::InterpreterCodeSize = 200 * 1024;
6969

7070
#define __ _masm->
7171

72-
//-----------------------------------------------------------------------------
73-
74-
extern "C" void entry(CodeBuffer*);
75-
76-
//-----------------------------------------------------------------------------
77-
7872
address TemplateInterpreterGenerator::generate_slow_signature_handler() {
7973
address entry = __ pc();
8074

src/hotspot/cpu/arm/sharedRuntime_arm.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include "runtime/sharedRuntime.hpp"
3939
#include "runtime/safepointMechanism.hpp"
4040
#include "runtime/stubRoutines.hpp"
41+
#include "runtime/timerTrace.hpp"
4142
#include "runtime/vframeArray.hpp"
4243
#include "utilities/align.hpp"
4344
#include "utilities/powerOfTwo.hpp"

0 commit comments

Comments
 (0)