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

Add size_t versions of Atomic::cmpxchg

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • 10
    • 9
    • hotspot
    • None

      There is no version of Atomic::cmpxchg that operates on size_t variables.

      This typically results in developers using a different, unsuitable type for sizes instead.

      Note that a version of Atomic::cmpxchg that operates on size_t clashes with the existing variant for uint on 32 bit platforms.

            Unassigned Unassigned
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: