RFR: JDK-8269092: Add OldObjectSampleEvent.allocationSize field
Ludovic Henry
luhenry at openjdk.java.net
Wed Jun 23 13:18:30 UTC 2021
On Wed, 23 Jun 2021 12:54:29 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:
> Is a large (or small?) "allocation size" more likely a leak, or what is the thinking?
It's not so much that it's more likely to leak, but it's to allow the user to prioritise accordingly to the size of the leak. The bigger the leak, the more urgent it seems because the more impactful it is to fix. Overall, it doesn't hurt to have this information, it's trivial to gather (it's a one-liner), and it can help users of JFR to prioritise which leak to fix.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4549
More information about the hotspot-jfr-dev
mailing list