RFR: 8369449: Spec: introduce new JVMTI function GetTotalGCCpuTime [v3]

Alan Bateman alanb at openjdk.org
Tue Oct 21 13:12:57 UTC 2025


On Mon, 20 Oct 2025 10:26:44 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

> Right, there will be a deadlock if `GetTotalGCCpuTime` is called in the callbacks for events `GarbageCollectionStart`, `GarbageCollectionFinish`

The GarbageCollectionStart and GarbageCollectionFinish events are specified to sent when the VM is "stopped" (VM agnostic wording). The only JVMTI functions specified to be allowed are the raw monitor and the env local storage functions.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27879#issuecomment-3426554971


More information about the serviceability-dev mailing list