RFR: 8359110: Log accumulated GC and process CPU time upon VM exit [v3]
Jonas Norlinder
duke at openjdk.org
Fri Jun 13 10:50:38 UTC 2025
On Fri, 13 Jun 2025 10:25:22 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> The argument that "the user could forget specifying it", is somewhat weak imo - in that case one could argue why there are those labels, and I kind of doubt that GC cpu usage at the end only is that important to have for everyone every time.
I disagree, it is equally important as reporting pre and post compaction heap usage like we do now with -Xlog:gc. Users who are not experts in GC may underestimate the CPU cost of GC at a given heap max. Even experts in academia tend to run with too small heap. I maintain my position that adding it at the end is crucial.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25779#issuecomment-2969922344
More information about the hotspot-gc-dev
mailing list