866 do_name( fullFence_name, "fullFence") \ |
866 do_name( fullFence_name, "fullFence") \ |
867 do_alias( fullFence_signature, void_method_signature) \ |
867 do_alias( fullFence_signature, void_method_signature) \ |
868 \ |
868 \ |
869 /* Custom branch frequencies profiling support for JSR292 */ \ |
869 /* Custom branch frequencies profiling support for JSR292 */ \ |
870 do_class(java_lang_invoke_MethodHandleImpl, "java/lang/invoke/MethodHandleImpl") \ |
870 do_class(java_lang_invoke_MethodHandleImpl, "java/lang/invoke/MethodHandleImpl") \ |
871 do_intrinsic(_profileBoolean, java_lang_invoke_MethodHandleImpl, profileBoolean_name, profileBoolean_signature, F_S) \ |
871 do_intrinsic(_profileBoolean, java_lang_invoke_MethodHandleImpl, profileBoolean_name, profileBoolean_signature, F_S) \ |
872 do_name( profileBoolean_name, "profileBoolean") \ |
872 do_name( profileBoolean_name, "profileBoolean") \ |
873 do_signature(profileBoolean_signature, "(Z[I)Z") \ |
873 do_signature(profileBoolean_signature, "(Z[I)Z") \ |
|
874 do_intrinsic(_isCompileConstant, java_lang_invoke_MethodHandleImpl, isCompileConstant_name, isCompileConstant_signature, F_S) \ |
|
875 do_name( isCompileConstant_name, "isCompileConstant") \ |
|
876 do_alias( isCompileConstant_signature, object_boolean_signature) \ |
874 \ |
877 \ |
875 /* unsafe memory references (there are a lot of them...) */ \ |
878 /* unsafe memory references (there are a lot of them...) */ \ |
876 do_signature(getObject_signature, "(Ljava/lang/Object;J)Ljava/lang/Object;") \ |
879 do_signature(getObject_signature, "(Ljava/lang/Object;J)Ljava/lang/Object;") \ |
877 do_signature(putObject_signature, "(Ljava/lang/Object;JLjava/lang/Object;)V") \ |
880 do_signature(putObject_signature, "(Ljava/lang/Object;JLjava/lang/Object;)V") \ |
878 do_signature(getBoolean_signature, "(Ljava/lang/Object;J)Z") \ |
881 do_signature(getBoolean_signature, "(Ljava/lang/Object;J)Z") \ |
947 do_intrinsic(_putCharVolatile, sun_misc_Unsafe, putCharVolatile_name, putChar_signature, F_RN) \ |
950 do_intrinsic(_putCharVolatile, sun_misc_Unsafe, putCharVolatile_name, putChar_signature, F_RN) \ |
948 do_intrinsic(_putIntVolatile, sun_misc_Unsafe, putIntVolatile_name, putInt_signature, F_RN) \ |
951 do_intrinsic(_putIntVolatile, sun_misc_Unsafe, putIntVolatile_name, putInt_signature, F_RN) \ |
949 do_intrinsic(_putLongVolatile, sun_misc_Unsafe, putLongVolatile_name, putLong_signature, F_RN) \ |
952 do_intrinsic(_putLongVolatile, sun_misc_Unsafe, putLongVolatile_name, putLong_signature, F_RN) \ |
950 do_intrinsic(_putFloatVolatile, sun_misc_Unsafe, putFloatVolatile_name, putFloat_signature, F_RN) \ |
953 do_intrinsic(_putFloatVolatile, sun_misc_Unsafe, putFloatVolatile_name, putFloat_signature, F_RN) \ |
951 do_intrinsic(_putDoubleVolatile, sun_misc_Unsafe, putDoubleVolatile_name, putDouble_signature, F_RN) \ |
954 do_intrinsic(_putDoubleVolatile, sun_misc_Unsafe, putDoubleVolatile_name, putDouble_signature, F_RN) \ |
|
955 \ |
|
956 do_name(getShortUnaligned_name,"getShortUnaligned") do_name(putShortUnaligned_name,"putShortUnaligned") \ |
|
957 do_name(getCharUnaligned_name,"getCharUnaligned") do_name(putCharUnaligned_name,"putCharUnaligned") \ |
|
958 do_name(getIntUnaligned_name,"getIntUnaligned") do_name(putIntUnaligned_name,"putIntUnaligned") \ |
|
959 do_name(getLongUnaligned_name,"getLongUnaligned") do_name(putLongUnaligned_name,"putLongUnaligned") \ |
|
960 \ |
|
961 do_intrinsic(_getShortUnaligned, sun_misc_Unsafe, getShortUnaligned_name, getShort_signature, F_R) \ |
|
962 do_intrinsic(_getCharUnaligned, sun_misc_Unsafe, getCharUnaligned_name, getChar_signature, F_R) \ |
|
963 do_intrinsic(_getIntUnaligned, sun_misc_Unsafe, getIntUnaligned_name, getInt_signature, F_R) \ |
|
964 do_intrinsic(_getLongUnaligned, sun_misc_Unsafe, getLongUnaligned_name, getLong_signature, F_R) \ |
|
965 do_intrinsic(_putShortUnaligned, sun_misc_Unsafe, putShortUnaligned_name, putShort_signature, F_R) \ |
|
966 do_intrinsic(_putCharUnaligned, sun_misc_Unsafe, putCharUnaligned_name, putChar_signature, F_R) \ |
|
967 do_intrinsic(_putIntUnaligned, sun_misc_Unsafe, putIntUnaligned_name, putInt_signature, F_R) \ |
|
968 do_intrinsic(_putLongUnaligned, sun_misc_Unsafe, putLongUnaligned_name, putLong_signature, F_R) \ |
952 \ |
969 \ |
953 /* %%% these are redundant except perhaps for getAddress, but Unsafe has native methods for them */ \ |
970 /* %%% these are redundant except perhaps for getAddress, but Unsafe has native methods for them */ \ |
954 do_signature(getByte_raw_signature, "(J)B") \ |
971 do_signature(getByte_raw_signature, "(J)B") \ |
955 do_signature(putByte_raw_signature, "(JB)V") \ |
972 do_signature(putByte_raw_signature, "(JB)V") \ |
956 do_signature(getShort_raw_signature, "(J)S") \ |
973 do_signature(getShort_raw_signature, "(J)S") \ |