< prev index next >

src/hotspot/share/classfile/vmIntrinsics.hpp

Print this page

 215   do_intrinsic(_reverseBytes_l,           java_lang_Long,         reverseBytes_name,        long_long_signature, F_S)   \
 216     /*  (symbol reverseBytes_name defined above) */                                                                     \
 217   do_intrinsic(_reverseBytes_c,           java_lang_Character,    reverseBytes_name,        char_char_signature, F_S)   \
 218     /*  (symbol reverseBytes_name defined above) */                                                                     \
 219   do_intrinsic(_reverseBytes_s,           java_lang_Short,        reverseBytes_name,        short_short_signature, F_S) \
 220     /*  (symbol reverseBytes_name defined above) */                                                                     \
 221                                                                                                                         \
 222   do_intrinsic(_identityHashCode,         java_lang_System,       identityHashCode_name, object_int_signature,   F_S)   \
 223    do_name(     identityHashCode_name,                           "identityHashCode")                                    \
 224   do_intrinsic(_currentTimeMillis,        java_lang_System,       currentTimeMillis_name, void_long_signature,   F_S)   \
 225                                                                                                                         \
 226    do_name(     currentTimeMillis_name,                          "currentTimeMillis")                                   \
 227   do_intrinsic(_nanoTime,                 java_lang_System,       nanoTime_name,          void_long_signature,   F_S)   \
 228    do_name(     nanoTime_name,                                   "nanoTime")                                            \
 229                                                                                                                         \
 230   JFR_INTRINSICS(do_intrinsic, do_class, do_name, do_signature, do_alias)                                               \
 231                                                                                                                         \
 232   do_intrinsic(_arraycopy,                java_lang_System,       arraycopy_name, arraycopy_signature,           F_S)   \
 233    do_name(     arraycopy_name,                                  "arraycopy")                                           \
 234    do_signature(arraycopy_signature,                             "(Ljava/lang/Object;ILjava/lang/Object;II)V")          \
 235   do_intrinsic(_currentThread,            java_lang_Thread,       currentThread_name, currentThread_signature,   F_S)   \






 236    do_name(     currentThread_name,                              "currentThread")                                       \



 237    do_signature(currentThread_signature,                         "()Ljava/lang/Thread;")                                \


 238                                                                                                                         \
 239   /* reflective intrinsics, for java/lang/Class, etc. */                                                                \
 240   do_intrinsic(_isAssignableFrom,         java_lang_Class,        isAssignableFrom_name, class_boolean_signature, F_RN) \
 241    do_name(     isAssignableFrom_name,                           "isAssignableFrom")                                    \
 242   do_intrinsic(_isInstance,               java_lang_Class,        isInstance_name, object_boolean_signature,     F_RN)  \
 243    do_name(     isInstance_name,                                 "isInstance")                                          \
 244   do_intrinsic(_getModifiers,             java_lang_Class,        getModifiers_name, void_int_signature,         F_RN)  \
 245    do_name(     getModifiers_name,                               "getModifiers")                                        \
 246   do_intrinsic(_isInterface,              java_lang_Class,        isInterface_name, void_boolean_signature,      F_RN)  \
 247    do_name(     isInterface_name,                                "isInterface")                                         \
 248   do_intrinsic(_isArray,                  java_lang_Class,        isArray_name, void_boolean_signature,          F_RN)  \
 249    do_name(     isArray_name,                                    "isArray")                                             \
 250   do_intrinsic(_isPrimitive,              java_lang_Class,        isPrimitive_name, void_boolean_signature,      F_RN)  \
 251    do_name(     isPrimitive_name,                                "isPrimitive")                                         \
 252   do_intrinsic(_isHidden,                 java_lang_Class,        isHidden_name, void_boolean_signature,         F_RN)  \
 253    do_name(     isHidden_name,                                   "isHidden")                                            \
 254   do_intrinsic(_getSuperclass,            java_lang_Class,        getSuperclass_name, void_class_signature,      F_RN)  \
 255    do_name(     getSuperclass_name,                              "getSuperclass")                                       \
 256   do_intrinsic(_Class_cast,               java_lang_Class,        Class_cast_name, object_object_signature,      F_R)   \
 257    do_name(     Class_cast_name,                                 "cast")                                                \

 476   do_intrinsic(_updateBytesCRC32,          java_util_zip_CRC32,   updateBytes_name, updateBytes_signature,       F_SN)  \
 477    do_name(     updateBytes_name,                                "updateBytes0")                                        \
 478    do_signature(updateBytes_signature,                           "(I[BII)I")                                            \
 479   do_intrinsic(_updateByteBufferCRC32,     java_util_zip_CRC32,   updateByteBuffer_name, updateByteBuffer_signature, F_SN) \
 480    do_name(     updateByteBuffer_name,                           "updateByteBuffer0")                                   \
 481    do_signature(updateByteBuffer_signature,                      "(IJII)I")                                             \
 482                                                                                                                         \
 483   /* support for java.util.zip.CRC32C */                                                                                \
 484   do_class(java_util_zip_CRC32C,          "java/util/zip/CRC32C")                                                       \
 485   do_intrinsic(_updateBytesCRC32C,         java_util_zip_CRC32C,  updateBytes_C_name, updateBytes_signature,       F_S) \
 486    do_name(     updateBytes_C_name,                               "updateBytes")                                        \
 487   do_intrinsic(_updateDirectByteBufferCRC32C, java_util_zip_CRC32C, updateDirectByteBuffer_C_name, updateByteBuffer_signature, F_S) \
 488    do_name(    updateDirectByteBuffer_C_name,                     "updateDirectByteBuffer")                             \
 489                                                                                                                         \
 490    /* support for java.util.zip.Adler32 */                                                                              \
 491   do_class(java_util_zip_Adler32,        "java/util/zip/Adler32")                                                       \
 492   do_intrinsic(_updateBytesAdler32,       java_util_zip_Adler32,  updateBytes_C_name,  updateBytes_signature,  F_SN)    \
 493   do_intrinsic(_updateByteBufferAdler32,  java_util_zip_Adler32,  updateByteBuffer_A_name,  updateByteBuffer_signature,  F_SN) \
 494    do_name(     updateByteBuffer_A_name,                          "updateByteBuffer")                                   \
 495                                                                                                                         \










 496   /* support for UnsafeConstants */                                                                                     \
 497   do_class(jdk_internal_misc_UnsafeConstants,      "jdk/internal/misc/UnsafeConstants")                                 \
 498                                                                                                                         \
 499   /* support for Unsafe */                                                                                              \
 500   do_class(jdk_internal_misc_Unsafe,               "jdk/internal/misc/Unsafe")                                          \
 501   do_class(sun_misc_Unsafe,                        "sun/misc/Unsafe")                                                   \
 502   do_class(jdk_internal_misc_ScopedMemoryAccess,   "jdk/internal/misc/ScopedMemoryAccess")                              \
 503                                                                                                                         \
 504   do_intrinsic(_writeback0,               jdk_internal_misc_Unsafe,     writeback0_name, long_void_signature , F_RN)             \
 505    do_name(     writeback0_name,                                        "writeback0")                                            \
 506   do_intrinsic(_writebackPreSync0,        jdk_internal_misc_Unsafe,     writebackPreSync0_name, void_method_signature , F_RN)    \
 507    do_name(     writebackPreSync0_name,                                 "writebackPreSync0")                                     \
 508   do_intrinsic(_writebackPostSync0,       jdk_internal_misc_Unsafe,    writebackPostSync0_name, void_method_signature , F_RN)    \
 509    do_name(     writebackPostSync0_name,                                "writebackPostSync0")                                    \
 510   do_intrinsic(_allocateInstance,         jdk_internal_misc_Unsafe,     allocateInstance_name, allocateInstance_signature, F_RN) \
 511    do_name(     allocateInstance_name,                                  "allocateInstance")                                      \
 512    do_signature(allocateInstance_signature,                             "(Ljava/lang/Class;)Ljava/lang/Object;")                 \
 513   do_intrinsic(_allocateUninitializedArray, jdk_internal_misc_Unsafe,   allocateUninitializedArray_name, newArray_signature,  F_R) \
 514    do_name(     allocateUninitializedArray_name,                        "allocateUninitializedArray0")                           \
 515   do_intrinsic(_copyMemory,               jdk_internal_misc_Unsafe,     copyMemory_name, copyMemory_signature,         F_RN)     \

 215   do_intrinsic(_reverseBytes_l,           java_lang_Long,         reverseBytes_name,        long_long_signature, F_S)   \
 216     /*  (symbol reverseBytes_name defined above) */                                                                     \
 217   do_intrinsic(_reverseBytes_c,           java_lang_Character,    reverseBytes_name,        char_char_signature, F_S)   \
 218     /*  (symbol reverseBytes_name defined above) */                                                                     \
 219   do_intrinsic(_reverseBytes_s,           java_lang_Short,        reverseBytes_name,        short_short_signature, F_S) \
 220     /*  (symbol reverseBytes_name defined above) */                                                                     \
 221                                                                                                                         \
 222   do_intrinsic(_identityHashCode,         java_lang_System,       identityHashCode_name, object_int_signature,   F_S)   \
 223    do_name(     identityHashCode_name,                           "identityHashCode")                                    \
 224   do_intrinsic(_currentTimeMillis,        java_lang_System,       currentTimeMillis_name, void_long_signature,   F_S)   \
 225                                                                                                                         \
 226    do_name(     currentTimeMillis_name,                          "currentTimeMillis")                                   \
 227   do_intrinsic(_nanoTime,                 java_lang_System,       nanoTime_name,          void_long_signature,   F_S)   \
 228    do_name(     nanoTime_name,                                   "nanoTime")                                            \
 229                                                                                                                         \
 230   JFR_INTRINSICS(do_intrinsic, do_class, do_name, do_signature, do_alias)                                               \
 231                                                                                                                         \
 232   do_intrinsic(_arraycopy,                java_lang_System,       arraycopy_name, arraycopy_signature,           F_S)   \
 233    do_name(     arraycopy_name,                                  "arraycopy")                                           \
 234    do_signature(arraycopy_signature,                             "(Ljava/lang/Object;ILjava/lang/Object;II)V")          \
 235                                                                                                                         \
 236   do_intrinsic(_currentThread0,           java_lang_Thread,       currentThread0_name, currentThread_signature,   F_S)  \
 237   do_intrinsic(_currentThread,            java_lang_Thread,       currentThread_name, currentThread_signature,    F_S)  \
 238   do_intrinsic(_scopeLocalCache,          java_lang_Thread,       scopeLocalCache_name, scopeLocalCache_signature, F_S)  \
 239   do_intrinsic(_setScopeLocalCache,       java_lang_Thread,       setScopeLocalCache_name, setScopeLocalCache_signature, F_S) \
 240   do_intrinsic(_setCurrentThread,         java_lang_Thread,       setCurrentThread_name, thread_void_signature,   F_RN) \
 241    do_name(     currentThread0_name,                             "currentThread0")                                      \
 242    do_name(     currentThread_name,                              "currentThread")                                       \
 243    do_name(     scopeLocalCache_name,                            "scopeLocalCache")                                     \
 244    do_name(     setScopeLocalCache_name,                         "setScopeLocalCache")                                  \
 245    do_name(     setCurrentThread_name,                           "setCurrentThread")                                    \
 246    do_signature(currentThread_signature,                         "()Ljava/lang/Thread;")                                \
 247    do_signature(scopeLocalCache_signature,                       "()[Ljava/lang/Object;")                               \
 248    do_signature(setScopeLocalCache_signature,                    "([Ljava/lang/Object;)V")                              \
 249                                                                                                                         \
 250   /* reflective intrinsics, for java/lang/Class, etc. */                                                                \
 251   do_intrinsic(_isAssignableFrom,         java_lang_Class,        isAssignableFrom_name, class_boolean_signature, F_RN) \
 252    do_name(     isAssignableFrom_name,                           "isAssignableFrom")                                    \
 253   do_intrinsic(_isInstance,               java_lang_Class,        isInstance_name, object_boolean_signature,     F_RN)  \
 254    do_name(     isInstance_name,                                 "isInstance")                                          \
 255   do_intrinsic(_getModifiers,             java_lang_Class,        getModifiers_name, void_int_signature,         F_RN)  \
 256    do_name(     getModifiers_name,                               "getModifiers")                                        \
 257   do_intrinsic(_isInterface,              java_lang_Class,        isInterface_name, void_boolean_signature,      F_RN)  \
 258    do_name(     isInterface_name,                                "isInterface")                                         \
 259   do_intrinsic(_isArray,                  java_lang_Class,        isArray_name, void_boolean_signature,          F_RN)  \
 260    do_name(     isArray_name,                                    "isArray")                                             \
 261   do_intrinsic(_isPrimitive,              java_lang_Class,        isPrimitive_name, void_boolean_signature,      F_RN)  \
 262    do_name(     isPrimitive_name,                                "isPrimitive")                                         \
 263   do_intrinsic(_isHidden,                 java_lang_Class,        isHidden_name, void_boolean_signature,         F_RN)  \
 264    do_name(     isHidden_name,                                   "isHidden")                                            \
 265   do_intrinsic(_getSuperclass,            java_lang_Class,        getSuperclass_name, void_class_signature,      F_RN)  \
 266    do_name(     getSuperclass_name,                              "getSuperclass")                                       \
 267   do_intrinsic(_Class_cast,               java_lang_Class,        Class_cast_name, object_object_signature,      F_R)   \
 268    do_name(     Class_cast_name,                                 "cast")                                                \

 487   do_intrinsic(_updateBytesCRC32,          java_util_zip_CRC32,   updateBytes_name, updateBytes_signature,       F_SN)  \
 488    do_name(     updateBytes_name,                                "updateBytes0")                                        \
 489    do_signature(updateBytes_signature,                           "(I[BII)I")                                            \
 490   do_intrinsic(_updateByteBufferCRC32,     java_util_zip_CRC32,   updateByteBuffer_name, updateByteBuffer_signature, F_SN) \
 491    do_name(     updateByteBuffer_name,                           "updateByteBuffer0")                                   \
 492    do_signature(updateByteBuffer_signature,                      "(IJII)I")                                             \
 493                                                                                                                         \
 494   /* support for java.util.zip.CRC32C */                                                                                \
 495   do_class(java_util_zip_CRC32C,          "java/util/zip/CRC32C")                                                       \
 496   do_intrinsic(_updateBytesCRC32C,         java_util_zip_CRC32C,  updateBytes_C_name, updateBytes_signature,       F_S) \
 497    do_name(     updateBytes_C_name,                               "updateBytes")                                        \
 498   do_intrinsic(_updateDirectByteBufferCRC32C, java_util_zip_CRC32C, updateDirectByteBuffer_C_name, updateByteBuffer_signature, F_S) \
 499    do_name(    updateDirectByteBuffer_C_name,                     "updateDirectByteBuffer")                             \
 500                                                                                                                         \
 501    /* support for java.util.zip.Adler32 */                                                                              \
 502   do_class(java_util_zip_Adler32,        "java/util/zip/Adler32")                                                       \
 503   do_intrinsic(_updateBytesAdler32,       java_util_zip_Adler32,  updateBytes_C_name,  updateBytes_signature,  F_SN)    \
 504   do_intrinsic(_updateByteBufferAdler32,  java_util_zip_Adler32,  updateByteBuffer_A_name,  updateByteBuffer_signature,  F_SN) \
 505    do_name(     updateByteBuffer_A_name,                          "updateByteBuffer")                                   \
 506                                                                                                                         \
 507   /* jdk/internal/vm/Continuation */                                                                                    \
 508   do_class(jdk_internal_vm_Continuation, "jdk/internal/vm/Continuation")                                                \
 509   do_intrinsic(_Continuation_enter,  jdk_internal_vm_Continuation, enter_name,    continuationEnter_signature, F_S)     \
 510     do_signature(continuationEnter_signature,   "(Ljdk/internal/vm/Continuation;Z)V")                                   \
 511   do_intrinsic(_Continuation_enterSpecial, jdk_internal_vm_Continuation, enterSpecial_name, continuationEnter_signature, F_SN) \
 512   do_signature(continuationGetStacks_signature, "(III)V")                                                               \
 513   do_alias(continuationOnPinned_signature,      int_void_signature)                                                     \
 514   do_intrinsic(_Continuation_doYield, jdk_internal_vm_Continuation,  doYield_name, continuationDoYield_signature, F_S)  \
 515     do_alias(continuationDoYield_signature,     void_int_signature)                                                     \
 516                                                                                                                         \
 517   /* support for UnsafeConstants */                                                                                     \
 518   do_class(jdk_internal_misc_UnsafeConstants,      "jdk/internal/misc/UnsafeConstants")                                 \
 519                                                                                                                         \
 520   /* support for Unsafe */                                                                                              \
 521   do_class(jdk_internal_misc_Unsafe,               "jdk/internal/misc/Unsafe")                                          \
 522   do_class(sun_misc_Unsafe,                        "sun/misc/Unsafe")                                                   \
 523   do_class(jdk_internal_misc_ScopedMemoryAccess,   "jdk/internal/misc/ScopedMemoryAccess")                              \
 524                                                                                                                         \
 525   do_intrinsic(_writeback0,               jdk_internal_misc_Unsafe,     writeback0_name, long_void_signature , F_RN)             \
 526    do_name(     writeback0_name,                                        "writeback0")                                            \
 527   do_intrinsic(_writebackPreSync0,        jdk_internal_misc_Unsafe,     writebackPreSync0_name, void_method_signature , F_RN)    \
 528    do_name(     writebackPreSync0_name,                                 "writebackPreSync0")                                     \
 529   do_intrinsic(_writebackPostSync0,       jdk_internal_misc_Unsafe,    writebackPostSync0_name, void_method_signature , F_RN)    \
 530    do_name(     writebackPostSync0_name,                                "writebackPostSync0")                                    \
 531   do_intrinsic(_allocateInstance,         jdk_internal_misc_Unsafe,     allocateInstance_name, allocateInstance_signature, F_RN) \
 532    do_name(     allocateInstance_name,                                  "allocateInstance")                                      \
 533    do_signature(allocateInstance_signature,                             "(Ljava/lang/Class;)Ljava/lang/Object;")                 \
 534   do_intrinsic(_allocateUninitializedArray, jdk_internal_misc_Unsafe,   allocateUninitializedArray_name, newArray_signature,  F_R) \
 535    do_name(     allocateUninitializedArray_name,                        "allocateUninitializedArray0")                           \
 536   do_intrinsic(_copyMemory,               jdk_internal_misc_Unsafe,     copyMemory_name, copyMemory_signature,         F_RN)     \
< prev index next >