RFR: 8349525: RBTree: provide leftmost, rightmost, and a simple way to print trees [v3]
Johan Sjölen
jsjolen at openjdk.org
Fri Feb 7 22:04:11 UTC 2025
On Fri, 7 Feb 2025 15:47:49 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
>
> Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:
>
> feedback caspar
LGTM
-------------
Marked as reviewed by jsjolen (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23486#pullrequestreview-2602941153
More information about the hotspot-dev
mailing list