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

Avoid unnecessary volatile write on new AtomicBoolean(false)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • None
    • core-libs
    • None

      new AtomicBoolean(boolean) can be optimized by avoiding the volatile write in case false is passed.

            rriggs Roger Riggs
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: