< prev index next >

src/share/vm/gc/parallel/cardTableExtension.cpp

Print this page

        

*** 285,303 **** // scan all objects in the range if (interval != 0) { while (p < to) { Prefetch::write(p, interval); oop m = oop(p); ! assert(m->is_oop_or_null(), "Expected an oop or NULL for header field at " PTR_FORMAT, p2i(m)); pm->push_contents(m); p += m->size(); } pm->drain_stacks_cond_depth(); } else { while (p < to) { oop m = oop(p); ! assert(m->is_oop_or_null(), "Expected an oop or NULL for header field at " PTR_FORMAT, p2i(m)); pm->push_contents(m); p += m->size(); } pm->drain_stacks_cond_depth(); } --- 285,303 ---- // scan all objects in the range if (interval != 0) { while (p < to) { Prefetch::write(p, interval); oop m = oop(p); ! assert(oopDesc::is_oop_or_null(m), "Expected an oop or NULL for header field at " PTR_FORMAT, p2i(m)); pm->push_contents(m); p += m->size(); } pm->drain_stacks_cond_depth(); } else { while (p < to) { oop m = oop(p); ! assert(oopDesc::is_oop_or_null(m), "Expected an oop or NULL for header field at " PTR_FORMAT, p2i(m)); pm->push_contents(m); p += m->size(); } pm->drain_stacks_cond_depth(); }
< prev index next >