src/share/vm/oops/klass.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/oops/klass.hpp	Tue Mar 29 16:10:30 2016
--- new/src/share/vm/oops/klass.hpp	Tue Mar 29 16:10:30 2016

*** 322,336 **** --- 322,336 ---- static bool layout_helper_is_array(jint lh) { return (jint)lh < (jint)_lh_neutral_value; } static bool layout_helper_is_typeArray(jint lh) { // _lh_array_tag_type_value == (lh >> _lh_array_tag_shift); ! return (juint)lh >= (juint)(_lh_array_tag_type_value << _lh_array_tag_shift); ! return (juint)lh >= ((juint)_lh_array_tag_type_value << _lh_array_tag_shift); } static bool layout_helper_is_objArray(jint lh) { // _lh_array_tag_obj_value == (lh >> _lh_array_tag_shift); ! return (jint)lh < (jint)((juint)_lh_array_tag_type_value << _lh_array_tag_shift); } static int layout_helper_header_size(jint lh) { assert(lh < (jint)_lh_neutral_value, "must be array"); int hsize = (lh >> _lh_header_size_shift) & _lh_header_size_mask; assert(hsize > 0 && hsize < (int)sizeof(oopDesc)*3, "sanity");

src/share/vm/oops/klass.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File