RFR: 8258431: Provide a JFR event with live set size estimate
Jaroslav Bachorik
jbachorik at openjdk.java.net
Mon Mar 1 15:11:41 UTC 2021
On Mon, 1 Mar 2021 14:03:37 GMT, Jaroslav Bachorik <jbachorik at openjdk.org> wrote:
>> src/hotspot/share/gc/shenandoah/shenandoahConcurrentGC.cpp line 579:
>>
>>> 577: event.set_heapLive(heap->live());
>>> 578: event.commit();
>>> 579: }
>>
>> On the first sight, this belongs in `ShenandoahConcurrentMark::finish_mark()`. Placing the event here would fire the event when concurrent GC is cancelled, which is not what you want.
>
>
Actually, this shouldn't even be here. `EventGCHeapSummary` is emitted via `trace_heap*` calls which should already be hooked into Shenandoah. Let me remove this.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2579
More information about the hotspot-jfr-dev
mailing list