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

Jaroslav Bachorik jbachorik at openjdk.java.net
Mon Mar 1 15:30:02 UTC 2021


On Mon, 22 Feb 2021 19:37:37 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

>> Jaroslav Bachorik has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains ten additional commits since the last revision:
>> 
>>  - Merge remote-tracking branch 'origin/master' into jb/live_set_1
>>  - Change dead space calculation
>>  - Common PR fixes
>>  - Minor G1 related PR fixes
>>  - Epsilon related PR fixes
>>  - Shenandoah related PR fixes
>>  - Rename ZStatHeap::live() to live_at_mark_end()
>>  - Update event definition and emission
>>  - 8258431: Provide a JFR event with live set size estimate
>
> src/hotspot/share/jfr/metadata/metadata.xml line 205:
> 
>> 203:     <Field type="ulong" contentType="bytes" name="capacity" label="Heap Capacity" description="Maximum number of bytes to be allocated by objects in the heap" />
>> 204:     <Field type="ulong" contentType="bytes" name="used" label="Heap Used" description="Bytes allocated by objects in the heap" />
>> 205:     <Field type="ulong" contentType="bytes" name="live" label="Heap Live" description="Live bytes allocated by objects in the heap" />
> 
> I think it would be good to mention in the description that it is an estimate, i.e. "Estimate of live bytes ....".

👍

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

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



More information about the hotspot-gc-dev mailing list