Skip to content

Commit

Permalink
Adding JvmtiMountTransition annotation to more methods
Browse files Browse the repository at this point in the history
Signed-off-by: Gengchen Tuo <[email protected]>
  • Loading branch information
thallium committed Feb 14, 2025
1 parent 17fe208 commit 362167e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ public void unlockAccess() {
}

@Hidden
@JvmtiMountTransition
private static void enter(Continuation cont) {
try {
cont.runnable.run();
Expand Down Expand Up @@ -229,6 +230,7 @@ public final void run() {
* @return {@link true} or {@link false} based on success/failure
*/
@Hidden
@JvmtiMountTransition
public static boolean yield(ContinuationScope scope) {
/* TODO find matching scope to yield */
Thread carrierThread = JLA.currentCarrierThread();
Expand All @@ -238,6 +240,7 @@ public static boolean yield(ContinuationScope scope) {
}

@Hidden
@JvmtiMountTransition
private boolean yield0() {
int rcPinned = isPinnedImpl();
if (rcPinned != 0) {
Expand Down

0 comments on commit 362167e

Please sign in to comment.