[c1] The visibility of write-volatile requires membar_volatile instead of membar

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P4
    • tbd
    • Affects Version/s: 22
    • Component/s: hotspot

      For c1 now, a volatile write case:

      membar_release // LoadStore | StoreStore
      write volatile
      membar

      Just like c2, here `membar` should be defined `membar_volatile` clearly, then for risc-v, ppc and loongarch can use StoreLoad for `membar_volatile` for better performance.



            Assignee:
            Unassigned
            Reporter:
            Sun Guoyun
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: