< prev index next >

src/hotspot/share/oops/objArrayKlass.cpp

Print this page
*** 154,11 ***
    assert(is_array_klass(), "sanity");
    assert(is_objArray_klass(), "sanity");
  }
  
  size_t ObjArrayKlass::oop_size(oop obj) const {
-   assert(obj->is_objArray(), "must be object array");
    return objArrayOop(obj)->object_size();
  }
  
  objArrayOop ObjArrayKlass::allocate(int length, TRAPS) {
    check_array_allocation_length(length, arrayOopDesc::max_array_length(T_OBJECT), CHECK_NULL);
--- 154,10 ---
< prev index next >