Integrated: 8329748: Change default value of AssertWXAtThreadSync to true
Tobias Holenstein
tholenstein at openjdk.org
Wed May 22 08:53:11 UTC 2024
On Mon, 6 May 2024 11:10:08 GMT, Tobias Holenstein <tholenstein at openjdk.org> wrote:
> The debug flag `-XX:+AssertWXAtThreadSync` conservatively checks for correct W^X thread state at possible safepoints or handshake. The flag is useful to detect missing `MACOS_AARCH64_ONLY(ThreadWXEnable __wx(WXWrite, thread));`. Since the check is cheap and it is a `AARCH64_ONLY(develop(..))` only flag it makes sense to enable the flag by default.
>
> There was one missing `MACOS_AARCH64_ONLY(ThreadWXEnable __wx(WXWrite, thread));` to make all tests (tier1-7) pass.
This pull request has now been integrated.
Changeset: 3d511ff6
Author: Tobias Holenstein <tholenstein at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/3d511ff63e59f542ae20c722bfef1c867cd1da0e
Stats: 3 lines in 2 files changed: 1 ins; 0 del; 2 mod
8329748: Change default value of AssertWXAtThreadSync to true
Reviewed-by: kvn, rrich
-------------
PR: https://git.openjdk.org/jdk/pull/19102
More information about the hotspot-dev
mailing list