RFR: 8186958: Need method to create pre-sized HashMap [v10]
Stuart Marks
smarks at openjdk.java.net
Wed Apr 6 01:19:44 UTC 2022
On Sat, 2 Apr 2022 22:46:19 GMT, XenoAmess <duke at openjdk.java.net> wrote:
>> 8186958: Need method to create pre-sized HashMap
>
> XenoAmess has updated the pull request incrementally with one additional commit since the last revision:
>
> revert changes in jdk.compile
I've drafted a CSR for this. Please review:
https://bugs.openjdk.java.net/browse/JDK-8284377
I haven't yet reviewed all the call sites in detail, but I'll continue doing so. You're ambitious! But the number of call site errors that are fixed by this new API is quite high, so doing this is worthwhile.
test/jdk/java/util/Collections/CalculateHashMapCapacityTestJMH.java line 1:
> 1: /*
I don't think we need this benchmark in this PR.
Note, for future reference, benchmarks are located in the `test/micro` directory and not with the main regression suite in `test/jdk`.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7928
More information about the core-libs-dev
mailing list