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

Erik Gahlin egahlin at openjdk.org
Wed Oct 26 03:08:42 UTC 2022


On Tue, 25 Oct 2022 05:22:14 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 324bec19
Author:    Erik Gahlin <egahlin at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/324bec19aa9b9d4944a7e1129d494d57a077ba51
Stats:     31 lines in 14 files changed: 0 ins; 0 del; 31 mod

8295863: JFR: Use expected size for Maps and Sets

Reviewed-by: mgronlun

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

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


More information about the hotspot-jfr-dev mailing list