Archives de catégorie : thread

Java Map and thread-safety

Can we use no synchronized java.lang.Map instance fields in a multi-threaded context without explicit synchronization?No synchronized implementations of the java.util.Map interface such as java.util.HashMap or java.util.TreeMap are fast implementations as these are not thread-safe. In some use cases, the thread safety … Continuer la lecture

Publié dans java, performance en JAVA, thread | Laisser un commentaire