< prev index next >

src/hotspot/share/classfile/vmIntrinsics.hpp

Print this page

 227   do_intrinsic(_reverseBytes_l,           java_lang_Long,         reverseBytes_name,        long_long_signature, F_S)   \
 228     /*  (symbol reverseBytes_name defined above) */                                                                     \
 229   do_intrinsic(_reverseBytes_c,           java_lang_Character,    reverseBytes_name,        char_char_signature, F_S)   \
 230     /*  (symbol reverseBytes_name defined above) */                                                                     \
 231   do_intrinsic(_reverseBytes_s,           java_lang_Short,        reverseBytes_name,        short_short_signature, F_S) \
 232     /*  (symbol reverseBytes_name defined above) */                                                                     \
 233                                                                                                                         \
 234   do_intrinsic(_identityHashCode,         java_lang_System,       identityHashCode_name, object_int_signature,   F_SN)  \
 235    do_name(     identityHashCode_name,                           "identityHashCode")                                    \
 236   do_intrinsic(_currentTimeMillis,        java_lang_System,       currentTimeMillis_name, void_long_signature,   F_SN)  \
 237                                                                                                                         \
 238    do_name(     currentTimeMillis_name,                          "currentTimeMillis")                                   \
 239   do_intrinsic(_nanoTime,                 java_lang_System,       nanoTime_name,          void_long_signature,   F_SN)  \
 240    do_name(     nanoTime_name,                                   "nanoTime")                                            \
 241                                                                                                                         \
 242   JFR_INTRINSICS(do_intrinsic, do_class, do_name, do_signature, do_alias)                                               \
 243                                                                                                                         \
 244   do_intrinsic(_arraycopy,                java_lang_System,       arraycopy_name, arraycopy_signature,           F_SN)  \
 245    do_name(     arraycopy_name,                                  "arraycopy")                                           \
 246    do_signature(arraycopy_signature,                             "(Ljava/lang/Object;ILjava/lang/Object;II)V")          \
 247   do_intrinsic(_currentThread,            java_lang_Thread,       currentThread_name, currentThread_signature,   F_SN)  \






 248    do_name(     currentThread_name,                              "currentThread")                                       \



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


 250                                                                                                                         \
 251   /* reflective intrinsics, for java/lang/Class, etc. */                                                                \
 252   do_intrinsic(_isAssignableFrom,         java_lang_Class,        isAssignableFrom_name, class_boolean_signature, F_RN) \
 253    do_name(     isAssignableFrom_name,                           "isAssignableFrom")                                    \
 254   do_intrinsic(_isInstance,               java_lang_Class,        isInstance_name, object_boolean_signature,     F_RN)  \
 255    do_name(     isInstance_name,                                 "isInstance")                                          \
 256   do_intrinsic(_getModifiers,             java_lang_Class,        getModifiers_name, void_int_signature,         F_RN)  \
 257    do_name(     getModifiers_name,                               "getModifiers")                                        \
 258   do_intrinsic(_isInterface,              java_lang_Class,        isInterface_name, void_boolean_signature,      F_RN)  \
 259    do_name(     isInterface_name,                                "isInterface")                                         \
 260   do_intrinsic(_isArray,                  java_lang_Class,        isArray_name, void_boolean_signature,          F_RN)  \
 261    do_name(     isArray_name,                                    "isArray")                                             \
 262   do_intrinsic(_isPrimitive,              java_lang_Class,        isPrimitive_name, void_boolean_signature,      F_RN)  \
 263    do_name(     isPrimitive_name,                                "isPrimitive")                                         \
 264   do_intrinsic(_isHidden,                 java_lang_Class,        isHidden_name, void_boolean_signature,         F_RN)  \
 265    do_name(     isHidden_name,                                   "isHidden")                                            \
 266   do_intrinsic(_getSuperclass,            java_lang_Class,        getSuperclass_name, void_class_signature,      F_RN)  \
 267    do_name(     getSuperclass_name,                              "getSuperclass")                                       \
 268   do_intrinsic(_Class_cast,               java_lang_Class,        Class_cast_name, object_object_signature,      F_R)   \
 269    do_name(     Class_cast_name,                                 "cast")                                                \

 488   do_intrinsic(_updateBytesCRC32,          java_util_zip_CRC32,   updateBytes_name, updateBytes_signature,       F_SN)  \
 489    do_name(     updateBytes_name,                                "updateBytes0")                                        \
 490    do_signature(updateBytes_signature,                           "(I[BII)I")                                            \
 491   do_intrinsic(_updateByteBufferCRC32,     java_util_zip_CRC32,   updateByteBuffer_name, updateByteBuffer_signature, F_SN) \
 492    do_name(     updateByteBuffer_name,                           "updateByteBuffer0")                                   \
 493    do_signature(updateByteBuffer_signature,                      "(IJII)I")                                             \
 494                                                                                                                         \
 495   /* support for java.util.zip.CRC32C */                                                                                \
 496   do_class(java_util_zip_CRC32C,          "java/util/zip/CRC32C")                                                       \
 497   do_intrinsic(_updateBytesCRC32C,         java_util_zip_CRC32C,  updateBytes_C_name, updateBytes_signature,       F_S) \
 498    do_name(     updateBytes_C_name,                               "updateBytes")                                        \
 499   do_intrinsic(_updateDirectByteBufferCRC32C, java_util_zip_CRC32C, updateDirectByteBuffer_C_name, updateByteBuffer_signature, F_S) \
 500    do_name(    updateDirectByteBuffer_C_name,                     "updateDirectByteBuffer")                             \
 501                                                                                                                         \
 502    /* support for java.util.zip.Adler32 */                                                                              \
 503   do_class(java_util_zip_Adler32,        "java/util/zip/Adler32")                                                       \
 504   do_intrinsic(_updateBytesAdler32,       java_util_zip_Adler32,  updateBytes_C_name,  updateBytes_signature,  F_SN)    \
 505   do_intrinsic(_updateByteBufferAdler32,  java_util_zip_Adler32,  updateByteBuffer_A_name,  updateByteBuffer_signature,  F_SN) \
 506    do_name(     updateByteBuffer_A_name,                          "updateByteBuffer")                                   \
 507                                                                                                                         \










 508   /* support for UnsafeConstants */                                                                                     \
 509   do_class(jdk_internal_misc_UnsafeConstants,      "jdk/internal/misc/UnsafeConstants")                                 \
 510                                                                                                                         \
 511   /* support for Unsafe */                                                                                              \
 512   do_class(jdk_internal_misc_Unsafe,               "jdk/internal/misc/Unsafe")                                          \
 513   do_class(sun_misc_Unsafe,                        "sun/misc/Unsafe")                                                   \
 514   do_class(jdk_internal_misc_ScopedMemoryAccess,   "jdk/internal/misc/ScopedMemoryAccess")                              \
 515                                                                                                                         \
 516   do_intrinsic(_writeback0,               jdk_internal_misc_Unsafe,     writeback0_name, long_void_signature , F_RN)             \
 517    do_name(     writeback0_name,                                        "writeback0")                                            \
 518   do_intrinsic(_writebackPreSync0,        jdk_internal_misc_Unsafe,     writebackPreSync0_name, void_method_signature , F_RN)    \
 519    do_name(     writebackPreSync0_name,                                 "writebackPreSync0")                                     \
 520   do_intrinsic(_writebackPostSync0,       jdk_internal_misc_Unsafe,    writebackPostSync0_name, void_method_signature , F_RN)    \
 521    do_name(     writebackPostSync0_name,                                "writebackPostSync0")                                    \
 522   do_intrinsic(_allocateInstance,         jdk_internal_misc_Unsafe,     allocateInstance_name, allocateInstance_signature, F_RN) \
 523    do_name(     allocateInstance_name,                                  "allocateInstance")                                      \
 524    do_signature(allocateInstance_signature,                             "(Ljava/lang/Class;)Ljava/lang/Object;")                 \
 525   do_intrinsic(_allocateUninitializedArray, jdk_internal_misc_Unsafe,   allocateUninitializedArray_name, newArray_signature,  F_R) \
 526    do_name(     allocateUninitializedArray_name,                        "allocateUninitializedArray0")                           \
 527   do_intrinsic(_copyMemory,               jdk_internal_misc_Unsafe,     copyMemory_name, copyMemory_signature,         F_RN)     \

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

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