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

JFR: Use expected size for Maps and Sets

    XMLWordPrintable

Details

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

    Description

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: