RFR: 8281631: HashMap copy constructor and putAll can over-allocate table [v8]

XenoAmess duke at openjdk.java.net
Tue Feb 15 17:14:06 UTC 2022


On Tue, 15 Feb 2022 16:58:49 GMT, XenoAmess <duke at openjdk.java.net> wrote:

>> 8281631: HashMap copy constructor and putAll can over-allocate table
>
> XenoAmess has updated the pull request incrementally with one additional commit since the last revision:
> 
>   9072610: HashMap.putAll can cause redundant space waste

IdentityHashMap...checked.
uninvolved.
ConcurrentHashMap...checked.
fixed.
HashMap and WeakHashMap...checked.
fixed.

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

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


More information about the core-libs-dev mailing list