RFR: 8258431: Provide a JFR event with live set size estimate [v6]

Aleksey Shipilev shade at openjdk.java.net
Tue Mar 2 09:54:40 UTC 2021


On Tue, 2 Mar 2021 09:20:21 GMT, Jaroslav Bachorik <jbachorik at openjdk.org> wrote:

>> I have addressed comments with trivial fixes. 
>> Will take a look at the remainder of more complex ones next.
>
> Going over my initial changes I am starting to doubt the usefulness of defaulting to `used` value when `live` estimate is not available. It seems to be giving false information - perhaps it would be ok to return `0` as an invalid value to indicate that that particular information is not available and it would be up to the event consumer to fall back to using the `used` value or deal with the missing value by some other means.

Shenandoah parts are better like this (applies on top of your PR): https://cr.openjdk.java.net/~shade/8258431/shenandoah.patch

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

PR: https://git.openjdk.java.net/jdk/pull/2579



More information about the hotspot-gc-dev mailing list