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.