Integrated: 8366456: Allow AllocFailStrategy for RBTree

Johan Sjölen jsjolen at openjdk.org
Mon Sep 1 09:27:52 UTC 2025


On Fri, 29 Aug 2025 19:17:58 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

> Right now the RBTree forces you to use the intrusive tree if you want fine-grained control of the out-of-memory strategy of the node allocations. We can change this to be a bit more flexible.
> 
> One of the tests were incorrectly indented, so I fixed that. I also changed from `typedef` to `using`, turns out that `typedef` can give strange errors when the template instantiation is incorrect[0].
> 
> [0] For my particular gcc

This pull request has now been integrated.

Changeset: 98af1892
Author:    Johan Sjölen <jsjolen at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/98af18921aa3c274ef7ece03005337b58df3da96
Stats:     47 lines in 2 files changed: 21 ins; 1 del; 25 mod

8366456: Allow AllocFailStrategy for RBTree

Reviewed-by: cnorrbin, aboldtch

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

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


More information about the hotspot-dev mailing list