8344253: Test java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java failed

Reviewed-by: alanb
This commit is contained in:
Viktor Klang 2024-11-18 17:31:03 +00:00
parent 3e78ff16d3
commit d76b5b888e

View File

@ -3165,7 +3165,7 @@ public class ConcurrentSkipListMap<K,V> extends AbstractMap<K,V>
current = n;
Index<K,V> r = q.down;
row = (s.right != null) ? s : s.down;
est -= est >>> 2;
est >>>= 1;
return new KeySpliterator<K,V>(cmp, r, e, sk, est);
}
}
@ -3255,7 +3255,7 @@ public class ConcurrentSkipListMap<K,V> extends AbstractMap<K,V>
current = n;
Index<K,V> r = q.down;
row = (s.right != null) ? s : s.down;
est -= est >>> 2;
est >>>= 1;
return new ValueSpliterator<K,V>(cmp, r, e, sk, est);
}
}
@ -3341,7 +3341,7 @@ public class ConcurrentSkipListMap<K,V> extends AbstractMap<K,V>
current = n;
Index<K,V> r = q.down;
row = (s.right != null) ? s : s.down;
est -= est >>> 2;
est >>>= 1;
return new EntrySpliterator<K,V>(cmp, r, e, sk, est);
}
}