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

Remove Atomic::add/sub for short

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 12
    • 12
    • hotspot
    • None
    • b06

      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]

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

              Created:
              Updated:
              Resolved: