RFR: 8262894: [macos_aarch64] SIGBUS in Assembler::ld_st2

Anton Kozlov akozlov at openjdk.java.net
Mon Mar 29 11:45:34 UTC 2021


Please review a fix for compiler/debug/VerifyAdapterSharing.java failure on macos/aarch64 platform. The root cause is in missing W^X switch in JNI DestroyJavaVM. 

I reviewed the rest of the JNI Invoke Interface functions. DetachCurrentThread needs a similar change, although nothing fails immediately. So DetachCurrentThread is changed as a precaution.

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

Commit messages:
 - Switch W^X in DestroyJavaVM, DetachCurrentThread

Changes: https://git.openjdk.java.net/jdk/pull/3241/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3241&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8262894
  Stats: 8 lines in 1 file changed: 8 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3241.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3241/head:pull/3241

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


More information about the hotspot-dev mailing list