Archives de catégorie : microbenchmark

HashMap and ConcurrentHashMap Microbenchmark

Is ConcurrentHashMap always faster than HashMap for concurrent access ? If the map is accessible by concurrent threads, ConcurrentHashMap without additional synchronization mechanisms is often enough for reading operations. We may have some delay in the returned values by the … Continuer la lecture

Publié dans benchmark, java, map, microbenchmark, performance en JAVA | Marqué avec | Laisser un commentaire