< prev index next >

src/hotspot/share/classfile/vmIntrinsics.hpp

Print this page
@@ -297,10 +297,16 @@
                                                                                                                          \
    do_intrinsic(_setCurrentThread,         java_lang_Thread,       setCurrentThread_name, thread_void_signature,   F_RN) \
     do_name(     setCurrentThread_name,                           "setCurrentThread")                                    \
                                                                                                                          \
    /* reflective intrinsics, for java/lang/Class, etc. */                                                                \
+   do_intrinsic(_asPrimaryType,            java_lang_Class,        asPrimaryType_name, void_class_signature,      F_R)   \
+   do_intrinsic(_asPrimaryTypeArg,         jdk_internal_value_PrimitiveClass, asPrimaryType_name, class_class_signature, F_S) \
+    do_name(     asPrimaryType_name,                              "asPrimaryType")                                       \
+   do_intrinsic(_asValueType,              java_lang_Class,        asValueType_name, void_class_signature,        F_R)   \
+   do_intrinsic(_asValueTypeArg,           jdk_internal_value_PrimitiveClass, asValueType_name,   class_class_signature, F_S) \
+    do_name(     asValueType_name,                                "asValueType")                                         \
    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)  \
     do_name(     isInstance_name,                                 "isInstance")                                          \
    do_intrinsic(_getModifiers,             java_lang_Class,        getModifiers_name, void_int_signature,         F_RN)  \

@@ -327,10 +333,13 @@
     do_name(     getCallerClass_name,                             "getCallerClass")                                      \
                                                                                                                          \
    do_intrinsic(_newArray,                 java_lang_reflect_Array, newArray_name, newArray_signature,            F_SN)  \
     do_name(     newArray_name,                                    "newArray")                                           \
     do_signature(newArray_signature,                               "(Ljava/lang/Class;I)Ljava/lang/Object;")             \
+   do_intrinsic(_newNullRestrictedArray,   jdk_internal_value_ValueClass, newNullRestrictedArray_name, newNullRestrictedArray_signature, F_SN) \
+    do_signature(newNullRestrictedArray_signature,                 "(Ljava/lang/Class;I)[Ljava/lang/Object;")            \
+    do_name(     newNullRestrictedArray_name,                      "newNullRestrictedArray")                             \
                                                                                                                          \
    do_intrinsic(_onSpinWait,               java_lang_Thread,       onSpinWait_name, onSpinWait_signature,         F_S)   \
     do_name(     onSpinWait_name,                                  "onSpinWait")                                         \
     do_alias(    onSpinWait_signature,                             void_method_signature)                                \
                                                                                                                          \

@@ -618,10 +627,12 @@
    do_intrinsic(_allocateUninitializedArray, jdk_internal_misc_Unsafe,   allocateUninitializedArray_name, newArray_signature,  F_R) \
     do_name(     allocateUninitializedArray_name,                        "allocateUninitializedArray0")                           \
    do_intrinsic(_copyMemory,               jdk_internal_misc_Unsafe,     copyMemory_name, copyMemory_signature,         F_RN)     \
     do_name(     copyMemory_name,                                        "copyMemory0")                                           \
     do_signature(copyMemory_signature,                                   "(Ljava/lang/Object;JLjava/lang/Object;JJ)V")            \
+   do_intrinsic(_isFlattenedArray,         jdk_internal_misc_Unsafe,     isFlattenedArray_name, class_boolean_signature, F_RN)    \
+    do_name(     isFlattenedArray_name,                                  "isFlattenedArray")                                      \
    do_intrinsic(_loadFence,                jdk_internal_misc_Unsafe,     loadFence_name, loadFence_signature,           F_R)      \
     do_name(     loadFence_name,                                         "loadFence")                                             \
     do_alias(    loadFence_signature,                                    void_method_signature)                                   \
    do_intrinsic(_storeFence,               jdk_internal_misc_Unsafe,     storeFence_name, storeFence_signature,         F_R)      \
     do_name(     storeFence_name,                                        "storeFence")                                            \

@@ -666,39 +677,49 @@
    do_signature(putLong_signature,         "(Ljava/lang/Object;JJ)V")                                                    \
    do_signature(getFloat_signature,        "(Ljava/lang/Object;J)F")                                                     \
    do_signature(putFloat_signature,        "(Ljava/lang/Object;JF)V")                                                    \
    do_signature(getDouble_signature,       "(Ljava/lang/Object;J)D")                                                     \
    do_signature(putDouble_signature,       "(Ljava/lang/Object;JD)V")                                                    \
+   do_signature(getValue_signature,        "(Ljava/lang/Object;JLjava/lang/Class;)Ljava/lang/Object;")                   \
+   do_signature(putValue_signature,        "(Ljava/lang/Object;JLjava/lang/Class;Ljava/lang/Object;)V")                  \
                                                                                                                          \
    do_name(getReference_name,"getReference")     do_name(putReference_name,"putReference")                               \
    do_name(getBoolean_name,"getBoolean")         do_name(putBoolean_name,"putBoolean")                                   \
    do_name(getByte_name,"getByte")               do_name(putByte_name,"putByte")                                         \
    do_name(getShort_name,"getShort")             do_name(putShort_name,"putShort")                                       \
    do_name(getChar_name,"getChar")               do_name(putChar_name,"putChar")                                         \
    do_name(getInt_name,"getInt")                 do_name(putInt_name,"putInt")                                           \
    do_name(getLong_name,"getLong")               do_name(putLong_name,"putLong")                                         \
    do_name(getFloat_name,"getFloat")             do_name(putFloat_name,"putFloat")                                       \
    do_name(getDouble_name,"getDouble")           do_name(putDouble_name,"putDouble")                                     \
+   do_name(getValue_name,"getValue")             do_name(putValue_name,"putValue")                                       \
+   do_name(makePrivateBuffer_name,"makePrivateBuffer")                                                                   \
+   do_name(finishPrivateBuffer_name,"finishPrivateBuffer")                                                               \
                                                                                                                          \
    do_intrinsic(_getReference,       jdk_internal_misc_Unsafe,     getReference_name, getReference_signature,     F_RN)  \
    do_intrinsic(_getBoolean,         jdk_internal_misc_Unsafe,     getBoolean_name, getBoolean_signature,         F_RN)  \
    do_intrinsic(_getByte,            jdk_internal_misc_Unsafe,     getByte_name, getByte_signature,               F_RN)  \
    do_intrinsic(_getShort,           jdk_internal_misc_Unsafe,     getShort_name, getShort_signature,             F_RN)  \
    do_intrinsic(_getChar,            jdk_internal_misc_Unsafe,     getChar_name, getChar_signature,               F_RN)  \
    do_intrinsic(_getInt,             jdk_internal_misc_Unsafe,     getInt_name, getInt_signature,                 F_RN)  \
    do_intrinsic(_getLong,            jdk_internal_misc_Unsafe,     getLong_name, getLong_signature,               F_RN)  \
    do_intrinsic(_getFloat,           jdk_internal_misc_Unsafe,     getFloat_name, getFloat_signature,             F_RN)  \
    do_intrinsic(_getDouble,          jdk_internal_misc_Unsafe,     getDouble_name, getDouble_signature,           F_RN)  \
+   do_intrinsic(_getValue,           jdk_internal_misc_Unsafe,     getValue_name, getValue_signature,             F_RN)  \
    do_intrinsic(_putReference,       jdk_internal_misc_Unsafe,     putReference_name, putReference_signature,     F_RN)  \
    do_intrinsic(_putBoolean,         jdk_internal_misc_Unsafe,     putBoolean_name, putBoolean_signature,         F_RN)  \
    do_intrinsic(_putByte,            jdk_internal_misc_Unsafe,     putByte_name, putByte_signature,               F_RN)  \
    do_intrinsic(_putShort,           jdk_internal_misc_Unsafe,     putShort_name, putShort_signature,             F_RN)  \
    do_intrinsic(_putChar,            jdk_internal_misc_Unsafe,     putChar_name, putChar_signature,               F_RN)  \
    do_intrinsic(_putInt,             jdk_internal_misc_Unsafe,     putInt_name, putInt_signature,                 F_RN)  \
    do_intrinsic(_putLong,            jdk_internal_misc_Unsafe,     putLong_name, putLong_signature,               F_RN)  \
    do_intrinsic(_putFloat,           jdk_internal_misc_Unsafe,     putFloat_name, putFloat_signature,             F_RN)  \
    do_intrinsic(_putDouble,          jdk_internal_misc_Unsafe,     putDouble_name, putDouble_signature,           F_RN)  \
+   do_intrinsic(_putValue,           jdk_internal_misc_Unsafe,     putValue_name, putValue_signature,             F_RN)  \
+                                                                                                                         \
+   do_intrinsic(_makePrivateBuffer,  jdk_internal_misc_Unsafe,     makePrivateBuffer_name, object_object_signature, F_RN)   \
+   do_intrinsic(_finishPrivateBuffer,  jdk_internal_misc_Unsafe,   finishPrivateBuffer_name, object_object_signature, F_RN) \
                                                                                                                          \
    do_name(getReferenceVolatile_name,"getReferenceVolatile")   do_name(putReferenceVolatile_name,"putReferenceVolatile") \
    do_name(getBooleanVolatile_name,"getBooleanVolatile")       do_name(putBooleanVolatile_name,"putBooleanVolatile")     \
    do_name(getByteVolatile_name,"getByteVolatile")             do_name(putByteVolatile_name,"putByteVolatile")           \
    do_name(getShortVolatile_name,"getShortVolatile")           do_name(putShortVolatile_name,"putShortVolatile")         \
< prev index next >