1.1 --- a/src/share/vm/classfile/vmSymbols.hpp Wed Mar 18 11:37:48 2009 -0400 1.2 +++ b/src/share/vm/classfile/vmSymbols.hpp Thu Mar 19 09:13:24 2009 -0700 1.3 @@ -284,6 +284,7 @@ 1.4 template(value_name, "value") \ 1.5 template(frontCacheEnabled_name, "frontCacheEnabled") \ 1.6 template(stringCacheEnabled_name, "stringCacheEnabled") \ 1.7 + template(bitCount_name, "bitCount") \ 1.8 \ 1.9 /* non-intrinsic name/signature pairs: */ \ 1.10 template(register_method_name, "register") \ 1.11 @@ -304,6 +305,7 @@ 1.12 template(double_long_signature, "(D)J") \ 1.13 template(double_double_signature, "(D)D") \ 1.14 template(int_float_signature, "(I)F") \ 1.15 + template(long_int_signature, "(J)I") \ 1.16 template(long_long_signature, "(J)J") \ 1.17 template(long_double_signature, "(J)D") \ 1.18 template(byte_signature, "B") \ 1.19 @@ -507,6 +509,10 @@ 1.20 do_name( doubleToLongBits_name, "doubleToLongBits") \ 1.21 do_intrinsic(_longBitsToDouble, java_lang_Double, longBitsToDouble_name, long_double_signature, F_S) \ 1.22 do_name( longBitsToDouble_name, "longBitsToDouble") \ 1.23 + \ 1.24 + do_intrinsic(_bitCount_i, java_lang_Integer, bitCount_name, int_int_signature, F_S) \ 1.25 + do_intrinsic(_bitCount_l, java_lang_Long, bitCount_name, long_int_signature, F_S) \ 1.26 + \ 1.27 do_intrinsic(_reverseBytes_i, java_lang_Integer, reverseBytes_name, int_int_signature, F_S) \ 1.28 do_name( reverseBytes_name, "reverseBytes") \ 1.29 do_intrinsic(_reverseBytes_l, java_lang_Long, reverseBytes_name, long_long_signature, F_S) \ 1.30 @@ -696,7 +702,6 @@ 1.31 do_signature(putShort_raw_signature, "(JS)V") \ 1.32 do_signature(getChar_raw_signature, "(J)C") \ 1.33 do_signature(putChar_raw_signature, "(JC)V") \ 1.34 - do_signature(getInt_raw_signature, "(J)I") \ 1.35 do_signature(putInt_raw_signature, "(JI)V") \ 1.36 do_alias(getLong_raw_signature, /*(J)J*/ long_long_signature) \ 1.37 do_alias(putLong_raw_signature, /*(JJ)V*/ long_long_void_signature) \ 1.38 @@ -713,7 +718,7 @@ 1.39 do_intrinsic(_getByte_raw, sun_misc_Unsafe, getByte_name, getByte_raw_signature, F_RN) \ 1.40 do_intrinsic(_getShort_raw, sun_misc_Unsafe, getShort_name, getShort_raw_signature, F_RN) \ 1.41 do_intrinsic(_getChar_raw, sun_misc_Unsafe, getChar_name, getChar_raw_signature, F_RN) \ 1.42 - do_intrinsic(_getInt_raw, sun_misc_Unsafe, getInt_name, getInt_raw_signature, F_RN) \ 1.43 + do_intrinsic(_getInt_raw, sun_misc_Unsafe, getInt_name, long_int_signature, F_RN) \ 1.44 do_intrinsic(_getLong_raw, sun_misc_Unsafe, getLong_name, getLong_raw_signature, F_RN) \ 1.45 do_intrinsic(_getFloat_raw, sun_misc_Unsafe, getFloat_name, getFloat_raw_signature, F_RN) \ 1.46 do_intrinsic(_getDouble_raw, sun_misc_Unsafe, getDouble_name, getDouble_raw_signature, F_RN) \