Drop explicit zeroing at instantiation of Atomic* objects

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 16
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b22

      There is never a reason to explicitly instantiate any instance of Atomic* class with its default value, i.e. new AtomicInteger(0) could be replaced with new AtomicInteger() which is faster

            Assignee:
            Daniel Fuchs
            Reporter:
            Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: