samedi 25 avril 2015

What are some of the best examples of lock free practices in Java?


I read Brian Goetz's Java concurrency in practice and I started to read some articles and slides of Lock-free programming: Compare-And-Swap, RingBuffer, etc.

I was very glad to see the JDK's ConcurrentHashMap is one good example of replacing one single lock by multiple locks to reduce the lock impact.

I was wondering if there are any other Lock-free programming examples / source code / or best practices in real life, that I can draw more understanding and inspiration from?

Thanks so much!


Aucun commentaire:

Enregistrer un commentaire