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

XenoAmess duke at openjdk.java.net
Wed Feb 16 13:45:09 UTC 2022


On Tue, 15 Feb 2022 18:23:51 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 copy constructor and putAll can over-allocate table

ConcurrentHashMap is a little complicated...
Would like to put it into another pr.
Let's focus on non-thread-safe Maps in this pr.

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

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


More information about the core-libs-dev mailing list