ACMNexus / google-collections

Automatically exported from code.google.com/p/google-collections
Apache License 2.0
0 stars 0 forks source link

add NonBlockingHashMap and NonBlockingHashSet #141

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is not a bug but a feature request. It would be nice if
NonBlockingHashMap and NonBlockingHashSet from high scale lib [1] would be
supported. These are drop in replacements for ConcurrentHashMap and
ConcurrentSkipListSet but with better scalability.

 [1] http://sourceforge.net/projects/high-scale-lib

Original issue reported on code.google.com by philippe...@gmail.com on 10 Apr 2009 at 1:19

GoogleCodeExporter commented 8 years ago
I've considered it, since it's public domain code.

However, after discussing it with Doug Lea, Martin Buchholz and Josh Bloch, we 
don't
have cause to believe this will actually be a win for 90% of users, and we 
agreed
that the code needs a lot of work to be production-worthy.

I don't want to be seen as denigrating Cliff's work; it's great research, but 
from
what I've gathered, its benefits primarily seem to manifest on the kind of 
hardware
that most of us don't have.

Original comment by kevin...@gmail.com on 10 Apr 2009 at 5:27

GoogleCodeExporter commented 8 years ago
I'm not an expert, but the NonBlockingHashMap and NonBlockingHashSet seems to 
use
much less resources than ConcurrentHashMap and ConcurrentSkipListSet, so I 
believe
its a win for many users (those users with large data sets).

Original comment by ridersh...@gmail.com on 7 Aug 2009 at 9:09