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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 22
    • 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.



            Unassigned Unassigned
            sguoyun Sun Guoyun
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: