Some clarification about JVMTI_EVENT_THREAD_START and PRIMORDIAL phase

Alan Bateman Alan.Bateman at oracle.com
Mon Jul 13 13:05:38 UTC 2020


On 09/07/2020 17:25, Daniel D. Daugherty wrote:
> :
>
> However, the above diffs prevent the JVMTI_EVENT_THREAD_START
> and JVMTI_EVENT_THREAD_END events from being posted earlier than
> the JVMTI_PHASE_START phase... Unfortunately, I can't find the
> actual changeset pushed to the Jigsaw report for JDK-8072745.
The intermediate history is in the jigsaw/jake repo [1] if we need it. I 
don't have time to dig into it now but just to say that the 
THREAD_START/THREAD_END events are specified to be notified in start + 
live phases. It would be a bug (as in spec/impl mismatch) if we are 
posting these events in the primordial phase.

-Alan

[1] http://hg.openjdk.java.net/jigsaw/jake/hotspot


More information about the serviceability-dev mailing list