hotspot/src/share/vm/oops/klass.hpp
changeset 33105 294e48b4f704
parent 32606 fdaa30d06ada
child 33151 686d694f5c6a
equal deleted inserted replaced
33104:a7c0f60a1294 33105:294e48b4f704
   339   }
   339   }
   340   static int layout_helper_log2_element_size(jint lh) {
   340   static int layout_helper_log2_element_size(jint lh) {
   341     assert(lh < (jint)_lh_neutral_value, "must be array");
   341     assert(lh < (jint)_lh_neutral_value, "must be array");
   342     int l2esz = (lh >> _lh_log2_element_size_shift) & _lh_log2_element_size_mask;
   342     int l2esz = (lh >> _lh_log2_element_size_shift) & _lh_log2_element_size_mask;
   343     assert(l2esz <= LogBitsPerLong,
   343     assert(l2esz <= LogBitsPerLong,
   344         err_msg("sanity. l2esz: 0x%x for lh: 0x%x", (uint)l2esz, (uint)lh));
   344            "sanity. l2esz: 0x%x for lh: 0x%x", (uint)l2esz, (uint)lh);
   345     return l2esz;
   345     return l2esz;
   346   }
   346   }
   347   static jint array_layout_helper(jint tag, int hsize, BasicType etype, int log2_esize) {
   347   static jint array_layout_helper(jint tag, int hsize, BasicType etype, int log2_esize) {
   348     return (tag        << _lh_array_tag_shift)
   348     return (tag        << _lh_array_tag_shift)
   349       |    (hsize      << _lh_header_size_shift)
   349       |    (hsize      << _lh_header_size_shift)