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

Replace ConcurrentMap with AtomicReferenceArray for ZoneOffset.QUARTER_CACHE

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • core-libs
    • None
    • b09

      ZoneOffset.QUARTER_CACHE uses AtomicReferenceArray to replace ConcurrentMap to avoid object allocation caused by boxing from int to Integer during access.

            swen Shaojin Wen
            swen Shaojin Wen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: