RFR: 8256419: ZGC: Remove "Heap Used Before/After Mark/Relocation" samplers

Stefan Karlsson stefank at openjdk.java.net
Mon Nov 23 09:21:57 UTC 2020

On Mon, 16 Nov 2020 21:14:30 GMT, Per Liden <pliden at openjdk.org> wrote:

> I propose that we remove the following stat samplers:
> - Heap Used Before Mark
> - Heap Used After
> - Heap Used Before Relocation
> - Heap Used After Relocation
> The simple reason is that they aren't very useful. Looking at the heap statistics table gives a much better overview of what the heap usage has looked like.

GCHeapSummary doesn't contain enough information to track the usage during the cycle. We talked offline and it might be good to add an JFR event to log the "heap table" numbers from the gc log.


Marked as reviewed by stefank (Reviewer).

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

More information about the hotspot-gc-dev mailing list