RFR: 8257831: Suspend with handshakes [v2]

David Holmes david.holmes at oracle.com
Wed Mar 31 23:13:49 UTC 2021


Hi Dan,

On 1/04/2021 12:07 am, Daniel D.Daugherty wrote:
> On Wed, 31 Mar 2021 10:22:28 GMT, Richard Reingruber <rrich at 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
> 


More information about the hotspot-runtime-dev mailing list