Refactor ConcurrentWeakValueHashMap