RFR: 8378354: Faulty assertion in checkInvariants method of ConcurrentHashMap
cdw200806
duke at openjdk.org
Fri Feb 20 18:29:00 UTC 2026
"In Red-Black Trees, a red node cannot have any red children; this rule is violated even if only one child is red, not just when both children are red."
-------------
Commit messages:
- Update ConcurrentHashMap.java
Changes: https://git.openjdk.org/jdk/pull/24612/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24612&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8378354
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/24612.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24612/head:pull/24612
PR: https://git.openjdk.org/jdk/pull/24612
More information about the core-libs-dev
mailing list