[
https://issues.apache.org/jira/browse/COLLECTIONS-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18010200#comment-18010200
]
Joerg Budischewski commented on COLLECTIONS-851:
------------------------------------------------
PR [https://github.com/apache/commons-collections/pull/627] adds respective
comment in AbstractHashedMap and it's subclasses AbstractLinkedMap,
AbstractReferenceMap, HashedMap, LRUMap, LinkedMap,
ReferenceIdentityMap,ReferenceMap
> Document AbstractHashedMap does not compensate for key collisions
> -----------------------------------------------------------------
>
> Key: COLLECTIONS-851
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-851
> Project: Commons Collections
> Issue Type: Wish
> Components: Map
> Reporter: Arnout Engelen
> Priority: Major
>
> The various AbstractHashedMap implementations do not compensate for
> scenario's where many values map to the same hash bucket.
> This means these collections are not suitable for situations where untrusted
> users can add values for arbitrary keys, as they could cause disproportionate
> resource usage.
> This is not necessarily a problem, but it would be good to document this in
> the API docs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)