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

Unsafe.getAcquire* and VarHandles.getAcquire

    XMLWordPrintable

    Details

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

      Description

      Add methods to sun.misc.Unsafe to perform acquire-get access all types. Make VarHandles.getAcquire to use them.

      The additional intrinsification of these methods, if required, is handled with JDK-8132332.

      These methods are the twin of the Unsafe.putOrderedObject/Int/Long (set-release) methods that, when used together on the same variable, establishes a synchronized-with relationship.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: