Integrated: 8349525: RBTree: provide leftmost, rightmost, and a simple way to print trees

Thomas Stuefe stuefe at openjdk.org
Sat Feb 8 06:38:15 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
> 
> Tests: GHA (all clean), manual tests on Linux x64

This pull request has now been integrated.

Changeset: 7d52f1e6
Author:    Thomas Stuefe <stuefe at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7d52f1e64d17d4a77dacc6074ead11e975eed9eb
Stats:     262 lines in 3 files changed: 187 ins; 9 del; 66 mod

8349525: RBTree: provide leftmost, rightmost, and a simple way to print trees

Reviewed-by: jsjolen, cnorrbin

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

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


More information about the hotspot-dev mailing list