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.
@Test void raceConditionReproductionTest() { ConcurrentMap<Integer, String> eclipseMap = new org.eclipse.collections.impl.map.mutable.ConcurrentHashMap<>(); IntStream ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する