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

Rename weakCompareAndSetVolatile to weakCompareAndSet

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • core-libs

      Rename weakCompareAndSet to weakCompareAndSetPlain and weakCompareAndSetVolatile to weakCompareAndSet, thereby leveraging a consistent naming scheme for read-modify-write methods.

      The Atomic* classes should be updated in a separate issue to:

      1) deprecate (not for removal) weakCompareAndSet
      2) add weakCompareAndSetPlain, and leave weakCompareAndSetVolatile (which remains the sole inconsistency in the naming scheme)

            psandoz Paul Sandoz
            psandoz Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: