RFR: 8186958: Need method to create pre-sized HashMap [v7]

XenoAmess duke at openjdk.java.net
Sun Mar 27 08:50:49 UTC 2022


On Thu, 24 Mar 2022 17:43:31 GMT, XenoAmess <duke at openjdk.java.net> wrote:

>> 8186958: Need method to create pre-sized HashMap
>
> XenoAmess has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - update jmh
>  - refine javadoc; refine implement when expectedSize < 0

So I myself think, the functions looks good now.
The first step, to make such functions, seems completed.
Should we go into the next step now, means to change some usage to these functions in java.base?

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

PR: https://git.openjdk.java.net/jdk/pull/7928


More information about the core-libs-dev mailing list