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

XenoAmess duke at openjdk.java.net
Sun Feb 20 16:20:52 UTC 2022


On Sun, 20 Feb 2022 16:12:08 GMT, Andrew Haley <aph-open at littlepinkcloud.com> wrote:

> I don't think this is terribly important, but I don't like to see attempts at hand optimization in the standard library.

OK, we've decided use that Math.ceil() solution.

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

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


More information about the core-libs-dev mailing list