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

Set OnSpinWaitInst/OnSpinWaitInstCount defaults to "isb"/1 for Arm Neoverse N1

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b25
    • CPU:
      aarch64

      Description

      According to perf data, setting OnSpinWaitInst/OnSpinWaitInstCount to "isb"/1 improves performance workloads on Graviton 2(Arm Neoverse N1 implementation) which use Thread.onSpinWait. See https://git.openjdk.java.net/jdk/pull/5562 for details. So they should be used as defaults on Arm Neoverse N1.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eastigeevich Evgeny Astigeevich
              Reporter:
              eastigeevich Evgeny Astigeevich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: