C2: Rename MemBarVolatile to MemBarFull

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: hotspot

      The class is declared as:

      // Ordering between a volatile store and a following volatile load.
      // Requires multi-CPU visibility?
      class MemBarVolatileNode: public MemBarNode

      This suggests that it only orders volatile accesses, which is not correct, since it is used for VarHandle::fullFence intrinsics. We should rename it to MemBarFull.

            Assignee:
            Quan Anh Mai
            Reporter:
            Quan Anh Mai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: