< prev index next >

src/hotspot/share/gc/shared/space.inline.hpp

Print this page

        

@@ -164,11 +164,11 @@
 
   while (cur_obj < scan_limit) {
     assert(!space->scanned_block_is_obj(cur_obj) ||
            oop(cur_obj)->mark_raw()->is_marked() || oop(cur_obj)->mark_raw()->is_unlocked() ||
            oop(cur_obj)->mark_raw()->has_bias_pattern(),
-           "these are the only valid states during a mark sweep");
+           "these are the only valid states during a mark sweep (" INTPTR_FORMAT ")", p2i(cur_obj));
     if (space->scanned_block_is_obj(cur_obj) && oop(cur_obj)->is_gc_marked()) {
       // prefetch beyond cur_obj
       Prefetch::write(cur_obj, interval);
       size_t size = space->scanned_block_size(cur_obj);
       compact_top = cp->space->forward(oop(cur_obj), size, cp, compact_top);
< prev index next >