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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 23
    • 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.

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

              Created:
              Updated:
              Resolved: