On Thu, 15 Dec 2022 11:51:10 GMT, Serguei Spitsyn <sspit...@openjdk.org> wrote:
> Now the `JvmtiVTMSTransitionDisabler` mechanism supports disabling VTMS > transitions for all virtual threads only. It should also support disabling > transitions for any specific virtual thread as well. This will improve > scalability of the JVMTI functions operating on target virtual threads as the > functions can be executed concurrently without blocking each other execution > when target virtual threads are different. > New constructor `JvmtiVTMSTransitionDisabler(jthread vthread)` is added which > has jthread parameter of the target virtual thread. > > Testing: > mach5 jobs are TBD (preliminary testing was completed): > - all JVMTI, JDWP, JDI and JDB tests have to be run > - Kitchensink > - tier5 This pull request has now been integrated. Changeset: 13b1ebba Author: Serguei Spitsyn <sspit...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/13b1ebba276940ff83e53b8ec3659280b3574204 Stats: 198 lines in 8 files changed: 129 ins; 16 del; 53 mod 8298853: JvmtiVTMSTransitionDisabler should support disabling one virtual thread transitions Reviewed-by: pchilanomate, lmesnik ------------- PR: https://git.openjdk.org/jdk/pull/11690