@Test void raceConditionReproductionTest() { ConcurrentMap<Integer, String> eclipseMap = new org.eclipse.collections.impl.map.mutable.ConcurrentHashMap<>(); IntStream ...
As per the documentation ConcurrentHashMap#size() will return Integer.MAX_VALUE if it contains more than Integer.MAX_VALUE elements. But even if contains very few items, it returns Integer.MAX_VALUE.