Integrated: 8366897: RBTreeTest.IntrusiveCustomVerifyTest and RBTreeTest.CustomVerify tests fail on non-debug builds

Casper Norrbin cnorrbin at openjdk.org
Thu Sep 4 19:03:48 UTC 2025


On Thu, 4 Sep 2025 14:04:39 GMT, Casper Norrbin <cnorrbin at openjdk.org> wrote:

> #26981 introduced the possibility to supply the red-black tree with a custom verifier, however the call to this verifier was inside an assert, meaning it wasn't called for all builds. This results in two gtests failing.
> 
> This fix moves the call outside the assert, and then checks the result instead.
> 
> Testing:
> - Local gtest testing
> - Oracle tier 1

This pull request has now been integrated.

Changeset: 945aaf89
Author:    Casper Norrbin <cnorrbin at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/945aaf893219f9ead94fd8aae4994f7b520f64bf
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

8366897: RBTreeTest.IntrusiveCustomVerifyTest and RBTreeTest.CustomVerify tests fail on non-debug builds

Reviewed-by: ayang

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

PR: https://git.openjdk.org/jdk/pull/27097


More information about the hotspot-dev mailing list