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

Add size_t versions of Atomic::cmpxchg

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: