< prev index next >

src/hotspot/share/classfile/vmIntrinsics.hpp

Print this page
@@ -235,10 +235,14 @@
    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(_asPrimaryType,            java_lang_Class,        asPrimaryType_name, void_class_signature,      F_R)   \
+    do_name(     asPrimaryType_name,                              "asPrimaryType")                                       \
+   do_intrinsic(_asValueType,              java_lang_Class,        asValueType_name, void_class_signature,        F_R)   \
+    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)  \

@@ -558,39 +562,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 >