On Sat, 19 Nov 2022 07:08:38 GMT, Serguei Spitsyn <sspit...@openjdk.org> wrote:

> The can_support_virtual_thread was initially implemented as an onload 
> capability.
> It is why this capability does not work for the agents loaded into running VM.
> The fix is to move it from `onload` to `always`capabilities list.
> 
> Testing:
> New test is added: VirtualStartThreadTest.
> TBD: mach5 jvmti, jdi and tier1-6 tests.

This pull request has now been integrated.

Changeset: e661c5a3
Author:    Serguei Spitsyn <sspit...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/e661c5a3d0c8683043e238b669ae1bc59d94a682
Stats:     228 lines in 5 files changed: 220 ins; 5 del; 3 mod

8296323: JVMTI can_support_virtual_threads not available for agents loaded into 
running VM

Reviewed-by: alanb, rrich

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

PR: https://git.openjdk.org/jdk/pull/11246

Reply via email to