RFR: 8295863 JFR: Use expected size for Maps and Sets
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
On Tue, 25 Oct 2022 05:22:14 GMT, Erik Gahlin <egahlin@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
Marked as reviewed by mgronlun (Reviewer). ------------- PR: https://git.openjdk.org/jdk/pull/10844
On Tue, 25 Oct 2022 05:22:14 GMT, Erik Gahlin <egahlin@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@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
participants (2)
-
Erik Gahlin
-
Markus Grönlund