Rework [AArch64] use "dmb.ishst + dmb.ishld" for release barrier

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 23
    • Component/s: hotspot
    • None
    • aarch64
    • generic

      The origin patch for https://bugs.openjdk.org/browse/JDK-8324186 has 2 issue:
      1 It show regression in some platform, like Apple silicon in mac os
      2 Can not handle instruction sequence like "dmb.ishld; dmb.ishst; dmb.ishld; dmb.ishld"

      It can be fixed by:
      1 Enable AlwaysMergeDMB by default, only disable it in architecture we can see performance improvement (N1 or N2)
      2 Check the special pattern and merge the subsequent dmb.

            Assignee:
            Kuai Wei
            Reporter:
            Kuai Wei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: