RFR: 8265292: [macos_aarch64] java/foreign/TestDowncall.java crashes with SIGBUS

Anton Kozlov akozlov at openjdk.java.net
Mon May 17 10:47:07 UTC 2021


On Fri, 14 May 2021 18:31:00 GMT, Andrew Haley <aph at redhat.com> wrote:

> This looks to me like an instance of the Temporal Coupling design smell.

I would agree if we'd change the W^X as necessary before an appropriate action. But we don't, we maintain a property "JVM's runtime (C++) code runs in WXWrite" (now it is specified in one of the comments). And the change restores this property which was just broken inadvertently.

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

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


More information about the hotspot-dev mailing list