Skip to content

Commit

Permalink
loom locking stuff
Browse files Browse the repository at this point in the history
Signed-off-by: Tobi Ajila <atobia@ca.ibm.com>
  • Loading branch information
tajila committed Feb 23, 2024
1 parent 441da50 commit d49224a
Show file tree
Hide file tree
Showing 5 changed files with 712 additions and 103 deletions.
1 change: 1 addition & 0 deletions make/data/hotspot-symbols/symbols-unix
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ JVM_VirtualThreadMount
JVM_VirtualThreadUnmount
JVM_VirtualThreadHideFrames
JVM_VirtualThreadDisableSuspend
JVM_VirtualThreadWaitForPendingList

# Scoped values
JVM_EnsureMaterializedForStackWalk_func
Expand Down
3 changes: 3 additions & 0 deletions src/hotspot/share/include/jvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -1157,6 +1157,9 @@ JVM_VirtualThreadHideFrames(JNIEnv* env, jobject vthread, jboolean hide);
JNIEXPORT void JNICALL
JVM_VirtualThreadDisableSuspend(JNIEnv* env, jobject vthread, jboolean enter);

JNIEXPORT jobject JNICALL
JVM_VirtualThreadWaitForPendingList(JNIEnv* env);

/*
* Core reflection support.
*/
Expand Down
Loading

0 comments on commit d49224a

Please sign in to comment.