Add size_t versions of Atomic::cmpxchg

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P3
    • 10
    • Affects Version/s: 9
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: