Unsafe.getAcquire* and VarHandles.getAcquire

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: