RFR: 8296323: JVMTI can_support_virtual_threads not available for agents loaded into running VM [v4]
Serguei Spitsyn
sspitsyn at openjdk.org
Sun Nov 20 08:48:16 UTC 2022
> 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.
Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision:
fixed a trailing white space issue
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/11246/files
- new: https://git.openjdk.org/jdk/pull/11246/files/681e6927..8e408555
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=11246&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=11246&range=02-03
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/11246.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11246/head:pull/11246
PR: https://git.openjdk.org/jdk/pull/11246
More information about the serviceability-dev
mailing list