RFR: 8378354: Faulty assertion in checkInvariants method of ConcurrentHashMap
Viktor Klang
vklang at openjdk.org
Sun Feb 22 14:53:09 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."
Thanks for the discovery and fix.
-------------
Marked as reviewed by vklang (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/29857#pullrequestreview-3837949299
More information about the core-libs-dev
mailing list