RFR: 8349525: RBTree: provide leftmost, rightmost, and a simple way to print trees
Thomas Stuefe
stuefe at openjdk.org
Thu Feb 6 13:07:42 UTC 2025
On Thu, 6 Feb 2025 08:06:04 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> For things I currently work on (compilation memory statistic), I need this functionality.
>
> Changes:
>
> - added leftmost() and rightmost() (pretty self-explanatory)
> - added print_on(outputStream*) (likewise)
> - const correctness
> - other minor cleanups
> - gtests for all added functions
Ping @caspernorrbin @jdksjolen - I'd appreciate it if we could have this before the currently open intrusive tree rework, since I can then use it for an RFR that is almost finished
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23486#issuecomment-2639775689
More information about the hotspot-dev
mailing list