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

CompareAndExchange/Swap should leverage MemoryAccess class

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • tbd
    • 10
    • 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.

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

              Created:
              Updated:
              Resolved: