RFR: 8320272: Make method_entry_barrier address shared

Vladimir Kozlov kvn at openjdk.org
Fri Nov 17 16:16:47 UTC 2023


Currently all platforms have declared their own address variable for method_entry_barrier stub. Some have even slightly different name: nmethod_entry_barrier. For Leyden project one address is preferable.
In aarch64 code changed `movptr` to `lea` instruction to get relocation info as on x86.

Tested x86 and aarch64, tier1-4, xcomp, stress.  I need help to test on other platforms. Thanks!

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

Commit messages:
 - 8320272: Make method_entry_barrier address shared

Changes: https://git.openjdk.org/jdk/pull/16708/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16708&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8320272
  Stats: 63 lines in 32 files changed: 5 ins; 37 del; 21 mod
  Patch: https://git.openjdk.org/jdk/pull/16708.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16708/head:pull/16708

PR: https://git.openjdk.org/jdk/pull/16708


More information about the hotspot-dev mailing list