RFR: 8359110: Log accumulated GC and process CPU time upon VM exit [v3]
Thomas Schatzl
tschatzl at openjdk.org
Fri Jun 13 10:28:29 UTC 2025
On Thu, 12 Jun 2025 15:28:25 GMT, Jonas Norlinder <duke at openjdk.org> wrote:
> FYI; I removed nominal logging
Okay, these can be re-added if needed. I also see your point about that this is just one message at VM exit, so we do not need the "exit" label. I would prefer if it had, so I won't insist on it given that others do not mind either. It would fit the purpose of the `exit` label perfectly though.
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.e. if there is need to monitor it, only printing it at the end seems insufficient, as that kind of monitoring is continuous. It helps benchmarking though.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25779#issuecomment-2969876711
More information about the hotspot-runtime-dev
mailing list