[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Integrated: 8253795: Implementation of JEP 391: macOS/AArch64 Port
From: Anton Kozlov <akozlov () openjdk ! java ! net>
Date: 2021-03-25 18:14:06
Message-ID: n4vzkDG9kXNf_qMitLPTjoo8F7Zxd2W6FwBS2P-v5WA=.d5639e5b-2912-4d6f-9b8a-1f1bf79669a7 () github ! com
[Download RAW message or body]
On Fri, 22 Jan 2021 18:49:42 GMT, Anton Kozlov <akozlov@openjdk.org> wrote:
> Please review the implementation of JEP 391: macOS/AArch64 Port.
>
> It's heavily based on existing ports to linux/aarch64, macos/x86_64, and \
> windows/aarch64.
> Major changes are in:
> * src/hotspot/cpu/aarch64: support of the new calling convention (subtasks \
> JDK-8253817, JDK-8253818)
> * src/hotspot/os_cpu/bsd_aarch64: copy of os_cpu/linux_aarch64 with necessary \
> adjustments (JDK-8253819)
> * src/hotspot/share, test/hotspot/gtest: support of write-xor-execute (W^X), \
> required on macOS/AArch64 platform. It's implemented with \
> pthread_jit_write_protect_np provided by Apple. The W^X mode is local to a thread, \
> so W^X mode change relates to the java thread state change (for java threads). In \
> most cases, JVM executes in write-only mode, except when calling a generated stub \
> like SafeFetch, which requires a temporary switch to execute-only mode. The same \
> execute-only mode is enabled when a java thread executes in java or native states. \
> This approach of managing W^X mode turned out to be simple and \
> efficient enough.
> * src/jdk.hotspot.agent: serviceability agent implementation (JDK-8254941)
This pull request has now been integrated.
Changeset: dbc9e4b5
Author: Anton Kozlov <akozlov@openjdk.org>
Committer: Vladimir Kempik <vkempik@openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/dbc9e4b5
Stats: 2960 lines in 75 files changed: 2851 ins; 27 del; 82 mod
8253795: Implementation of JEP 391: macOS/AArch64 Port
8253816: Support macOS W^X
8253817: Support macOS Aarch64 ABI in Interpreter
8253818: Support macOS Aarch64 ABI for compiled wrappers
8253819: Implement os/cpu for macOS/AArch64
8253839: Update tests and JDK code for macOS/Aarch64
8254941: Implement Serviceability Agent for macOS/AArch64
8255776: Change build system for macOS/AArch64
8262903: [macos_aarch64] Thread::current() called on detached thread
Co-authored-by: Vladimir Kempik <vkempik@openjdk.org>
Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Monica Beckwith <mbeckwit@openjdk.org>
Reviewed-by: erikj, ihse, prr, cjplummer, stefank, gziemski, aph, mbeckwit, luhenry
-------------
PR: https://git.openjdk.java.net/jdk/pull/2200
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic