On Tue, 25 Apr 2023 02:15:54 GMT, Serguei Spitsyn <sspit...@openjdk.org> wrote:

>> Seems we should have a stress test for that.
>
>> The scenario that I'm wondering about is where a virtual thread is resumed
>> at around the same time that JVMTI StopThread is called.
> 
> This kind of scenario is not typical.
> The debugger should keep virtual thread suspended when making a call to JVMTI 
> StopThread.
> Normally, this kind of race should never happen with the JDWP agent.
> Chris, why do you think it is important to have a stress test for this?
> Also, do you have any testing scenario in mind?

I guess if it is not something that would typically ever be done in realistic 
situations, then there is no need for a stress test.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13546#discussion_r1175979665

Reply via email to