< prev index next >

src/hotspot/share/classfile/vmIntrinsics.hpp

Print this page
*** 230,13 ***
    JFR_INTRINSICS(do_intrinsic, do_class, do_name, do_signature, do_alias)                                               \
                                                                                                                          \
    do_intrinsic(_arraycopy,                java_lang_System,       arraycopy_name, arraycopy_signature,           F_S)   \
     do_name(     arraycopy_name,                                  "arraycopy")                                           \
     do_signature(arraycopy_signature,                             "(Ljava/lang/Object;ILjava/lang/Object;II)V")          \
!   do_intrinsic(_currentThread,            java_lang_Thread,       currentThread_name, currentThread_signature,   F_S)   \
     do_name(     currentThread_name,                              "currentThread")                                       \
     do_signature(currentThread_signature,                         "()Ljava/lang/Thread;")                                \
                                                                                                                          \
    /* reflective intrinsics, for java/lang/Class, etc. */                                                                \
    do_intrinsic(_isAssignableFrom,         java_lang_Class,        isAssignableFrom_name, class_boolean_signature, F_RN) \
     do_name(     isAssignableFrom_name,                           "isAssignableFrom")                                    \
    do_intrinsic(_isInstance,               java_lang_Class,        isInstance_name, object_boolean_signature,     F_RN)  \
--- 230,24 ---
    JFR_INTRINSICS(do_intrinsic, do_class, do_name, do_signature, do_alias)                                               \
                                                                                                                          \
    do_intrinsic(_arraycopy,                java_lang_System,       arraycopy_name, arraycopy_signature,           F_S)   \
     do_name(     arraycopy_name,                                  "arraycopy")                                           \
     do_signature(arraycopy_signature,                             "(Ljava/lang/Object;ILjava/lang/Object;II)V")          \
!                                                                                                                         \
+   do_intrinsic(_currentThread0,           java_lang_Thread,       currentThread0_name, currentThread_signature,   F_S)  \
+   do_intrinsic(_currentThread,            java_lang_Thread,       currentThread_name, currentThread_signature,    F_S)  \
+   do_intrinsic(_scopeLocalCache,          java_lang_Thread,       scopeLocalCache_name, scopeLocalCache_signature, F_S)  \
+   do_intrinsic(_setScopeLocalCache,       java_lang_Thread,       setScopeLocalCache_name, setScopeLocalCache_signature, F_S) \
+   do_intrinsic(_setCurrentThread,         java_lang_Thread,       setCurrentThread_name, thread_void_signature,   F_RN) \
+    do_name(     currentThread0_name,                             "currentThread0")                                      \
     do_name(     currentThread_name,                              "currentThread")                                       \
+    do_name(     scopeLocalCache_name,                            "scopeLocalCache")                                     \
+    do_name(     setScopeLocalCache_name,                         "setScopeLocalCache")                                  \
+    do_name(     setCurrentThread_name,                           "setCurrentThread")                                    \
     do_signature(currentThread_signature,                         "()Ljava/lang/Thread;")                                \
+    do_signature(scopeLocalCache_signature,                       "()[Ljava/lang/Object;")                               \
+    do_signature(setScopeLocalCache_signature,                    "([Ljava/lang/Object;)V")                              \
                                                                                                                          \
    /* reflective intrinsics, for java/lang/Class, etc. */                                                                \
    do_intrinsic(_isAssignableFrom,         java_lang_Class,        isAssignableFrom_name, class_boolean_signature, F_RN) \
     do_name(     isAssignableFrom_name,                           "isAssignableFrom")                                    \
    do_intrinsic(_isInstance,               java_lang_Class,        isInstance_name, object_boolean_signature,     F_RN)  \

*** 491,10 ***
--- 502,20 ---
    do_class(java_util_zip_Adler32,        "java/util/zip/Adler32")                                                       \
    do_intrinsic(_updateBytesAdler32,       java_util_zip_Adler32,  updateBytes_C_name,  updateBytes_signature,  F_SN)    \
    do_intrinsic(_updateByteBufferAdler32,  java_util_zip_Adler32,  updateByteBuffer_A_name,  updateByteBuffer_signature,  F_SN) \
     do_name(     updateByteBuffer_A_name,                          "updateByteBuffer")                                   \
                                                                                                                          \
+   /* jdk/internal/vm/Continuation */                                                                                    \
+   do_class(jdk_internal_vm_Continuation, "jdk/internal/vm/Continuation")                                                \
+   do_intrinsic(_Continuation_enter,  jdk_internal_vm_Continuation, enter_name,    continuationEnter_signature, F_S)     \
+     do_signature(continuationEnter_signature,   "(Ljdk/internal/vm/Continuation;Z)V")                                   \
+   do_intrinsic(_Continuation_enterSpecial, jdk_internal_vm_Continuation, enterSpecial_name, continuationEnter_signature, F_SN) \
+   do_signature(continuationGetStacks_signature, "(III)V")                                                               \
+   do_alias(continuationOnPinned_signature,      int_void_signature)                                                     \
+   do_intrinsic(_Continuation_doYield, jdk_internal_vm_Continuation,  doYield_name, continuationDoYield_signature, F_S)  \
+     do_alias(continuationDoYield_signature,     void_int_signature)                                                     \
+                                                                                                                         \
    /* support for UnsafeConstants */                                                                                     \
    do_class(jdk_internal_misc_UnsafeConstants,      "jdk/internal/misc/UnsafeConstants")                                 \
                                                                                                                          \
    /* support for Unsafe */                                                                                              \
    do_class(jdk_internal_misc_Unsafe,               "jdk/internal/misc/Unsafe")                                          \
< prev index next >