Hi!
My questions are:
1. Are put() and other mutating methods of ConcurrentMapimplementations have to be atomic? Do we always have to call put() under lock or only if it is a part of compound transaction? Documentation is not clear about it.
2. If I have two identical instances of the same key class, are they considered the same key by lock() or they are locked on independently?
I will appreciate if links are provided.
Thanks,
Boris