RFR: 8369449: Spec: introduce new JVMTI function GetTotalGCCpuTime [v3]
Serguei Spitsyn
sspitsyn at openjdk.org
Tue Oct 21 19:08:48 UTC 2025
On Tue, 21 Oct 2025 13:24:04 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> I've no doubt that it is useful but it also reasonable to ask if JVMTI is the right API for monitoring GC in 2025. This is a neglected area, the existing events date from 20 years ago, and pre-date concurrent collectors and other advancements. Is this the start of a revival of JVMTI for profiling tools? If we could start again what features would a GC monitor interface have to help troubleshooting, performance monitoring, and research? Would we confident modelling a VM and GC agnostic interface or would there be aspects that are very GC specific?
Thank you, Alan. There was some offline Slack conversation with Ron and Jonas. Conclusion is the JMX support should be enough for this. So, I've closed the enhancement as WNF and this PR as well.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27879#issuecomment-3428949447
More information about the serviceability-dev
mailing list