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

Serguei Spitsyn sspitsyn at openjdk.org
Tue Nov 22 23:49:41 UTC 2022


On Sat, 19 Nov 2022 07:08:38 GMT, Serguei Spitsyn <sspitsyn at 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 <sspitsyn at 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


More information about the serviceability-dev mailing list