RFR: 8366456: Allow AllocFailStrategy for RBTree
Johan Sjölen
jsjolen at openjdk.org
Mon Sep 1 08:16:24 UTC 2025
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
-------------
Commit messages:
- Fix
- ?
- Allow OOM strategy for RBTree
Changes: https://git.openjdk.org/jdk/pull/27011/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27011&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8366456
Stats: 46 lines in 2 files changed: 21 ins; 0 del; 25 mod
Patch: https://git.openjdk.org/jdk/pull/27011.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27011/head:pull/27011
PR: https://git.openjdk.org/jdk/pull/27011
More information about the hotspot-dev
mailing list