Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8080588 VarHandles development
  3. JDK-8132332

Unsafe intrinsics overhaul for VarHandle.{getAcquire|setRelease}

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      We do have the {set|get}{.|Volatile|Acquire|Release} accessors for most types. Most of these accessors delegate their gory work to Unsafe. This issue should handle the proper intrinsification of new Unsafe methods for VarHandles work.

      In particular, should we really intrinsify putOrdered*, or we can emulate them with fences? Should we intrinsify getAcquire*? What is the difference in intrinsics between putOrdered and putVolatile?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: