JEP 180: Handle Frequent HashMap Collisions with Balanced Trees
Tom Hawtin
tom.hawtin at oracle.com
Mon Apr 15 16:34:23 UTC 2013
On 05/04/2013 19:08, mark.reinhold at oracle.com wrote:
> Posted: http://openjdk.java.net/jeps/180
If you're using WeakHashMap with types that (may) override
equals/hashCode you have bigger problems. You almost certainly want
"identity" semantics (violating the java.util.Map contract) and quite
possibly concurrency.
Tom
More information about the core-libs-dev
mailing list