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

Track membars for volatile accesses so they can be properly optimized

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b09

      Backports

        Description

        Aarch64 emits a single instruction for volatile accesses that include the required memory barriers. For this to work properly the aarch64 backend has to locate membars that go with a memory access to elide them. This is currently implemented with some complicated pattern matching that has proven fragile and painful to maintain. This change introduces a new and robust logic to locate membars and memory accesses for volatile accesses.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                roland Roland Westrelin
                Reporter:
                roland Roland Westrelin
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: