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

XenoAmess duke at openjdk.java.net
Wed Apr 6 16:21:43 UTC 2022


On Wed, 6 Apr 2022 16:02: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 one additional commit since the last revision:
> 
>   use (double) DEFAULT_LOAD_FACTOR instead of 0.75

There be another question:
Should we add `@ForceInline` annotation to the new added functions? as they be static short functions, thus seems maybe benificial to inline them.

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

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


More information about the core-libs-dev mailing list