CompareAndExchange/Swap should leverage MemoryAccess class

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P3
    • tbd
    • Affects Version/s: 10
    • Component/s: hotspot
    • None

      JDK-8150921 introduced a new MemoryAccess helper class in unsafe.cpp for handling the various Unsafe memory accesses, wrapping them in t->doing_unsafe_access() calls if needed, normalizing the stored values, etc.

      The CompareAndExchange and CompareAndSwap intrinsics should also leverage the MemoryAccess class.

            Assignee:
            Harold Seigel (Inactive)
            Reporter:
            Mikael Vidstedt
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: