Skip to content

Commit

Permalink
review: clarify the use of annotation @JvmtiMountTransition in yield/…
Browse files Browse the repository at this point in the history
…yield0
  • Loading branch information
sspitsyn committed Oct 18, 2024
1 parent f8d0515 commit 94862c3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
/**
* A method is annotated as "jvmti mount transition" if it starts
* or ends virtual thread mount state transition (VTMS transition).
* The Continuation yield and yield0 frames normally are in VTMS transition
* but can be found out of transition in an unmounted virtual thread.
* This inconsistency is the reason why they also need this annotation.
*
* @implNote
* This annotation is only used for some VirtualThread and Continuation methods.
Expand Down

0 comments on commit 94862c3

Please sign in to comment.