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

Remove Atomic::add/sub for short

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b06

      Description

      The problem is that it does not work in general. It has particular requirements of being paired up next to another short, and the order of those two shorts depending on what endianness the machine has, so that it can perform a shifted int add instead in such a way that it will add only into the one short you want it to and not the other one.
      from [~eosterlund]

        Attachments

          Activity

            People

            Assignee:
            coleenp Coleen Phillimore
            Reporter:
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: