prometheus/client_java — pull request #40 by fwbrasil (2014-11-10 21:49:39+00:00)
Title: avoid blocking on partials creation

On Java 8 the method ConcurrentHashMap.putIfAbsent uses a lock on the Node instance that is the representation of the map key, even if the element is already existent. This PR uses the contains method that doesn't perform blocking operations.