Skip to content

Commit 044dc7e

Browse files
committed
Adding JvmtiMountTransition annotation to more methods
Signed-off-by: Gengchen Tuo <gengchen.tuo@ibm.com>
1 parent 7af189a commit 044dc7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jcl/src/java.base/share/classes/jdk/internal/vm/Continuation.java

+3
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ public void unlockAccess() {
182182
}
183183

184184
@Hidden
185+
@JvmtiMountTransition
185186
private static void enter(Continuation cont) {
186187
try {
187188
cont.runnable.run();
@@ -229,6 +230,7 @@ public final void run() {
229230
* @return {@link true} or {@link false} based on success/failure
230231
*/
231232
@Hidden
233+
@JvmtiMountTransition
232234
public static boolean yield(ContinuationScope scope) {
233235
/* TODO find matching scope to yield */
234236
Thread carrierThread = JLA.currentCarrierThread();
@@ -238,6 +240,7 @@ public static boolean yield(ContinuationScope scope) {
238240
}
239241

240242
@Hidden
243+
@JvmtiMountTransition
241244
private boolean yield0() {
242245
int rcPinned = isPinnedImpl();
243246
if (rcPinned != 0) {

0 commit comments

Comments
 (0)