RFR: : (coll) IdentityHashMap is resized before exceeding the expected maximum size
jeffhain at rocketmail.com
Thu Jul 3 19:59:42 UTC 2014
My test now terminates (exception on MAX_CAPACITY-th put).
Maybe where MAX_CAPACITY is defined you could indicate
that you can actually have at most MAX_CAPACITY-1 mappings,
to ensure that the table always contains some null key-spot
(I don't see this invariant explicited already).
More information about the core-libs-dev