RFR: 8378354: Faulty assertion in checkInvariants method of ConcurrentHashMap
cdw200806
duke at openjdk.org
Sat Feb 21 16:56:45 UTC 2026
Raise a new PR. for https://github.com/openjdk/jdk/pull/24612 is too old.
"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:
- Fix red-black tree invariant check in ConcurrentHashMap
Changes: https://git.openjdk.org/jdk/pull/29857/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29857&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/29857.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29857/head:pull/29857
PR: https://git.openjdk.org/jdk/pull/29857
More information about the core-libs-dev
mailing list