RFR: 8378354: Faulty assertion in checkInvariants method of ConcurrentHashMap

Alan Bateman alanb at openjdk.org
Sat Feb 21 17:58:14 UTC 2026


On Sat, 21 Feb 2026 16:51:17 GMT, cdw200806 <duke at openjdk.org> wrote:

> 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."

Marked as reviewed by alanb (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/29857#pullrequestreview-3835741973


More information about the core-libs-dev mailing list