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

JFR: Use expected size for Maps and Sets

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • None
    • hotspot
    • None
    • jfr
    • b21

      JDK19 introduced a set of factory methods for creating collection objects with an expected size. It should be used instead of the initial capacity.

            egahlin Erik Gahlin
            egahlin Erik Gahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: