RFR: 8306034: add support of virtual threads to JVMTI StopThread [v2]

Alan Bateman alanb at openjdk.org
Sat Apr 22 08:03:44 UTC 2023


On Fri, 21 Apr 2023 23:53:45 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> Okay but JvmtiVTMSTransitionDisabler prevent the thread from being resumed for the -XX:-VMContinuations case?
>
> Thank you for the catch. Will check it. I have to extend the test to cover the BoundVirtualThread case enabled with the flag `-XX:-VMContinuations`.

The scenario that I'm wondering about is where a virtual thread is resumed at around the same time that JVMTI StopThread is called. Not easy to test.

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

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


More information about the serviceability-dev mailing list