RFR: 8373490: JFR Leak Profiler: path-to-gc-root very slow for large object arrays

Erik Gahlin egahlin at openjdk.org
Fri Dec 12 21:23:52 UTC 2025


On Fri, 12 Dec 2025 19:23:34 GMT, Robert Toyonaga <duke at openjdk.org> wrote:

> Is there a way to add a timeout to the test for the failure case? Time outs in unit tests are not completely reliable, but maybe something generous like 10s might be reasonable.

I don't think we should have a timeout. Timeouts typically only lead to false positives, when you run on some old hardware, during stress, using some other option etc.

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

PR Comment: https://git.openjdk.org/jdk/pull/28781#issuecomment-3648179388


More information about the hotspot-jfr-dev mailing list