RFR: 8341427: JFR: Adjust object sampler span handling

Erik Gahlin egahlin at openjdk.org
Fri Nov 22 15:21:20 UTC 2024


On Fri, 22 Nov 2024 14:53:14 GMT, Robert Toyonaga <duke at openjdk.org> wrote:

> Just a question, when a node is removed, why is the span pushed onto the younger neighbor? Wouldn't be better to emphasize the older neighbor since they've survived longer (and so are more likely to be a leak)?'

My thinking was that if it is removed, it's like it was never sampled. It would be as if the TLAB size were larger, and the span belongs to the next sample in time. I have a vague memory that the span at some point was split into younger and older samples, but I didn't go with that solution.

Let me think about it.

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

PR Comment: https://git.openjdk.org/jdk/pull/19334#issuecomment-2493995110


More information about the hotspot-jfr-dev mailing list