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

G1: Reduce usage of volatile in favour of Atomic operations

XMLWordPrintable

    • gc

      The volatile qualifier does not guarantee atomic operations by the standard. Instead of using volatile, we ought to use Atomic operations. This enhancement removes usage of volatile in G1 and instead uses a new class AtomicValue to do the operations.

            lkorinth Leo Korinth
            lkorinth Leo Korinth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: