RFR: 8295863 JFR: Use expected size for Maps and Sets

Erik Gahlin egahlin at openjdk.org
Tue Oct 25 12:39:28 UTC 2022


Hi,

Could I have a review of PR that uses HashMap.newHashMap and HashSet.newHashSet to set the expected size. I also increased the size where the number of events have increased since JDK 9.

Testing: test/jdk/jdk/jfr

Thanks
Erik

-------------

Commit messages:
 - Adjustments
 - Initial

Changes: https://git.openjdk.org/jdk/pull/10844/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10844&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8295863
  Stats: 31 lines in 14 files changed: 0 ins; 0 del; 31 mod
  Patch: https://git.openjdk.org/jdk/pull/10844.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10844/head:pull/10844

PR: https://git.openjdk.org/jdk/pull/10844


More information about the hotspot-jfr-dev mailing list