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

CompareAndExchange/Swap should leverage MemoryAccess class

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • P3
    • Resolution: Won't Fix
    • 10
    • tbd
    • hotspot
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: