Hello.
As I know it's recommended to use putAll with TreeMap to avoid deadlocks
(is there any other reasons?). If so, how to deal with .withKeepBinary
cache, where you have to provide Map of BinaryObjects, which are not
Comparable, and thus couldn't be put in TreeMap?

Also, why deadlocks could happen with HashMap, and why using TreeMap
prevents it?

Reply via email to