JEP 340: One AArch64 Port, Not Two
Owner | Bob Vandette |
Type | Feature |
Scope | JDK |
Status | Closed / Delivered |
Release | 12 |
Component | hotspot / runtime |
Discussion | hotspot dash dev at openjdk dot java dot net |
Effort | S |
Duration | S |
Reviewed by | Karen Kinnear, Vladimir Kozlov |
Endorsed by | Vladimir Kozlov |
Created | 2018/08/07 18:58 |
Updated | 2024/09/25 17:20 |
Issue | 8209093 |
Summary
Remove all of the sources related to the arm64
port while retaining the 32-bit ARM port and the 64-bit aarch64
port.
Motivation
Removing this port will allow all contributors to focus their efforts on a single 64-bit ARM implementation, and eliminate the duplicate work required to maintain two ports.
Description
Two 64-bit ARM ports exist in the JDK. The main sources for these are in the src/hotspot/cpu/arm
and open/src/hotspot/cpu/aarch64
directories. Although both ports produce aarch64
implementations, for the sake of this JEP we shall refer to the former, which was contributed by Oracle, as arm64
, and the latter as aarch64
.
Here are the tasks that will be completed as part of this JEP:
- Remove all
arm64
-specific sources and#ifdef
s related to 64-bit versus 32-bit builds inopen/src/hotspot/cpu/arm
- Scan the remaining JDK sources for
#ifdef
s related to this port - Remove the build option for building this port. Make the
aarch64
port the default build for the 64-bit ARM architecture. - Validate that the remaining 32-bit ARM port continues to build and run the conformance tests with no regressions that did not exist prior to the changes related to this JEP.