The ConcurrentHashMap of JDK uses a lock-striping technique. It is a nice idea to minimize locking overhead. Are there any other libraries or tools that take advantage of it? For example, does database engine use it?
If the technique is not so much useful in other areas, what is the limitation of it?
From stackoverflow
-
Have a look at Non-blocking almost FIFO.
Will : nice link! thx for the good reading
0 comments:
Post a Comment