alex at puredanger.com
Thu Sep 8 12:10:51 EDT 2011
> Doug Lea said:
> Scanning for uses of ConcurrentHashMap constructors
> on google code search, it seems that hardly anyone ever
> overrides the default anyway, so this probably doesn't
> matter much either way. But if you have ever done so,
> and have a good reason, could you let me know? Thanks!
I think the only time I have ever seen someone use an alternate load
factor is in the case where they are creating a Map that has a known
maximum fixed size and they want to ensure that the map will never
need to rehash. It might be helpful to specify in Javadoc how to
achieve that goal.
More information about the Concurrency-interest