Hi Dan,
On 1/04/2021 12:07 am, Daniel D.Daugherty wrote:
On Wed, 31 Mar 2021 10:22:28 GMT, Richard Reingruber <rr...@openjdk.org> wrote:
My comment was about JVMTI_ERROR_THREAD_NOT_ALIVE
Sure. I agree with your comment.
It depends on how late we can call into an event handler during the
JavaThread exit code path. Is it possible to post an event on a thread
that has passed the `terminated` point in JavaThread::exit()?
The JVM TI thread_end event is posted before the thread is marked as
exiting.
David
PR: https://git.openjdk.java.net/jdk/pull/3191