< prev index next >

src/share/vm/oops/oop.inline.hpp

Print this page
rev 11545 : imported patch webrev.01
rev 11547 : [mq]: webrev.03

*** 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, "Oop size is not properly aligned: %d", s); ! assert(s > 0, "Oop size must be greater than zero, not %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 >