[jdk11u-dev] RFR: 8253015: Aarch64: Move linux code out from generic CPU feature detection

Reka Kovacs github.com+25946952+rnkovacs at openjdk.java.net
Fri Aug 27 20:50:39 UTC 2021


Not a clean backport. Differences to the original commit:

- Changes to files under `src/hotspot/cpu/aarch64/` and `src/hotspot/os_cpu/linux_aarch64/` are adjusted to cover hardware features supported in JDK 11.
- As JDK 11 is built using an older C++ standard than tip, `static_assert`s need to be replaced with `STATIC_ASSERT` macros in `vm_version_linux_aarch64.cpp`.
- The GraalVM related changes in `vmStructs_jvmci.cpp`, `AArch64HotSpotLIRGenerator.java` and `GraalHotSpotVMConfig.java` are skipped as they seem to be modifying code added in JDK 14 ([JDK-8226222](https://bugs.openjdk.java.net/browse/JDK-8226222) and [JDK-8231973](https://bugs.openjdk.java.net/browse/JDK-8229201)).

This is part of the Windows/AArch64 port.

-------------

Commit messages:
 - Backport ec9bee68660acd6abf0b4dd4023ae69514542256

Changes: https://git.openjdk.java.net/jdk11u-dev/pull/299/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=299&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253015
  Stats: 255 lines in 3 files changed: 99 ins; 124 del; 32 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/299.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/299/head:pull/299

PR: https://git.openjdk.java.net/jdk11u-dev/pull/299


More information about the jdk-updates-dev mailing list