JFR: Use expected size for Maps and Sets

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: