RFR: 8298853: JvmtiVTMSTransitionDisabler should support disabling one virtual thread transitions [v5]

Serguei Spitsyn sspitsyn at openjdk.org
Sat Dec 24 04:14:07 UTC 2022


> 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 incrementally with one additional commit since the last revision:

  fix race between VTMS_transition_disable_for_one and start_VTMS_transition

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11690/files
  - new: https://git.openjdk.org/jdk/pull/11690/files/3c73fae3..3effc27d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11690&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11690&range=03-04

  Stats: 38 lines in 7 files changed: 18 ins; 16 del; 4 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


More information about the hotspot-dev mailing list