RFR: 8378354: Faulty assertion in checkInvariants method of ConcurrentHashMap
Jaikiran Pai
jpai at openjdk.org
Fri Feb 20 18:29:05 UTC 2026
On Thu, 19 Feb 2026 16:33:07 GMT, cdw200806 <duke at openjdk.org> wrote:
>> "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."
>
> ご連絡、ありがとうございます。これからもよろしくお願いします。
Hello @cdw200806,
> And, seems this pr need a ticket number before merge it. I don't know how to get it.
> Contributing to JDK is a interesting thing. But If this pr not need merge, I can close it.
The OpenJDK contribution guide has details on how to propose changes to the JDK https://openjdk.org/guide/. For a change like this, that doesn't have a corresponding JBS issue already filed, the suggestion is to first ask in a relevant mailing list whether the change is worth doing. Can you create a discussion in the concurrency-dev mailing list https://mail.openjdk.org/mailman/listinfo/concurrency-discuss and explain what this change is about? The mailing list requires subscription, so please subscribe before posting. That mailing list link has details on how to subscribe.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24612#issuecomment-3934657893
More information about the core-libs-dev
mailing list