< prev index next >
src/share/vm/oops/oop.inline.hpp
Print this page
rev 11483 : [mq]: webrev.01
*** 256,267 ****
// Must be zero, so bite the bullet and take the virtual call.
s = klass->oop_size(this);
}
}
! assert(s % MinObjAlignment == 0, "alignment check");
! assert(s > 0, "Bad size calculated");
return s;
}
bool oopDesc::is_instance() const { return klass()->is_instance_klass(); }
bool oopDesc::is_array() const { return klass()->is_array_klass(); }
--- 256,267 ----
// Must be zero, so bite the bullet and take the virtual call.
s = klass->oop_size(this);
}
}
! assert(s % MinObjAlignment == 0, "alignment check of %d", s);
! assert(s > 0, "Bad size calculated: %d", s);
return s;
}
bool oopDesc::is_instance() const { return klass()->is_instance_klass(); }
bool oopDesc::is_array() const { return klass()->is_array_klass(); }
< prev index next >