> 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

Serguei Spitsyn has updated the pull request with a new target base due to a 
merge or a rebase. The pull request now contains eight commits:

 - Merge branch 'master' into br21
 - minor comments are resolved
 - fix race between VTMS_transition_disable_for_one and start_VTMS_transition
 - use owned_by_self vs is_locked in JvmtiVTMSTransition_lock asserts
 - address wqsecond round review comments
 - review comments are addressed
 - fix trailing white spaces in javaClasses.cpp and jvmtiThreadState.cpp
 - 8298853: JvmtiVTMSTransitionDisabler should support disabling one virtual 
thread transitions

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

Changes: https://git.openjdk.org/jdk/pull/11690/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11690&range=06
  Stats: 198 lines in 8 files changed: 129 ins; 16 del; 53 mod
  Patch: https://git.openjdk.org/jdk/pull/11690.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11690/head:pull/11690

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

Reply via email to