On Mon, 18 Nov 2024 15:46:04 GMT, Viktor Klang <[email protected]> wrote:
> This change now halves each side of the split regardless, the old code would > end up in a situation where it wouldn't decrement since unsigned shift right > twice would lead to decrementing estimated size by 0. > > It's worth noting the probabilistic nature of skip lists and that their > spliterators are not SIZED and their estimatedSize() is therefor not to be > relied upon for deterministic correctness. This pull request has now been integrated. Changeset: d76b5b88 Author: Viktor Klang <[email protected]> URL: https://git.openjdk.org/jdk/commit/d76b5b888e15b507631068f508e261cab75c841e Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod 8344253: Test java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java failed Reviewed-by: alanb ------------- PR: https://git.openjdk.org/jdk/pull/22210
