RFR: 8284752: Zero does not build on Mac OS X due to missing os::current_thread_enable_wx implementation

David Holmes dholmes at openjdk.java.net
Tue Apr 12 13:21:47 UTC 2022


On Tue, 12 Apr 2022 11:31:03 GMT, Johannes Bechberger <duke at openjdk.java.net> wrote:

> Adds an implementation of the missing method (guarded with `defined(AARCH64) && defined(__APPLE__)`) and fixes the compilation issues on Mac M1.

Looks good and trivial.

It seems apparent that nobody has been building Zero in this environment.

Thanks,
David

src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp line 358:

> 356:   pthread_jit_write_protect_np(mode == WXExec);
> 357: }
> 358: #endif

Newline needed at end-of-file

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

Marked as reviewed by dholmes (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8200


More information about the hotspot-runtime-dev mailing list