Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8337657

AArch64: No need for acquire fence in safepoint poll during JNI calls

XMLWordPrintable

    • b11
    • aarch64

      There is call overhead in which LDAR, issued by the original implementation of JDK-8189596, plays a significant role. (more details in https://mail.openjdk.org/pipermail/hotspot-compiler-dev/2024-July/078698.html ) According to the later discussion https://mail.openjdk.org/pipermail/hotspot-compiler-dev/2024-July/078715.html it is no longer needed.

      There are 2 places to change: SharedRuntime::generate_native_wrapper() and TemplateInterpreterGenerator::generate_native_entry().

      The same approach is used in RISC-V port but this RFE is for AArch64 only.

            dchuyko Dmitry Chuyko
            dchuyko Dmitry Chuyko
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: