< prev index next >

src/hotspot/share/oops/typeArrayKlass.cpp

Print this page
@@ -226,11 +226,10 @@
  Klass* TypeArrayKlass::array_klass_or_null() {
    return array_klass_or_null(dimension() +  1);
  }
  
  size_t TypeArrayKlass::oop_size(oop obj) const {
-   assert(obj->is_typeArray(),"must be a type array");
    typeArrayOop t = typeArrayOop(obj);
    return t->object_size(this);
  }
  
  void TypeArrayKlass::initialize(TRAPS) {
< prev index next >