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

AlwaysAtomicAccesses is excessively strict

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 26
    • 26
    • hotspot
    • b19
    • generic
    • generic

      In C1, the experimental flag AlwaysAtomicAccesses treats accesses to all fields as if they were volatile fields. This is correct but excessive: we only need single-copy atomicity to satisfyAlwaysAtomicAccesses.

            aph Andrew Haley
            aph Andrew Haley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: