RFR: 8373096: JFR: Path-to-gc-roots search should be non-recursive [v3]
Thomas Stuefe
stuefe at openjdk.org
Wed Jan 28 07:53:49 UTC 2026
On Tue, 27 Jan 2026 18:57:56 GMT, Robert Toyonaga <duke at openjdk.org> wrote:
>> Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:
>>
>> dont incremement _num_objects_processed for follow-up chunks
>
> src/hotspot/share/jfr/leakprofiler/chains/dfsClosure.cpp line 217:
>
>> 215: _current_pointee = _current_ref.dereference();
>> 216:
>> 217: _num_objects_processed++;
>
> For large arrays that have many chunks, each chunk will count as another "object" processed. Is this okay?
Thank you for catching that; I fixed it.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29382#discussion_r2735291019
More information about the hotspot-jfr-dev
mailing list