< prev index next >

src/share/vm/gc/shenandoah/shenandoahPrinter.cpp

Print this page
rev 14453 : Remove secondary marking bitmap.

@@ -44,11 +44,11 @@
     if (o != NULL) {
       if (ShenandoahHeap::heap()->is_in(o) && oopDesc::is_oop(o)) {
         tty->print_cr("%s "INT32_FORMAT" ("PTR_FORMAT")-> "PTR_FORMAT" (marked: %s) (%s "PTR_FORMAT")",
                       _prefix, _index,
                       p2i(p), p2i(o),
-                      BOOL_TO_STR(ShenandoahHeap::heap()->is_marked_complete(o)),
+                      BOOL_TO_STR(ShenandoahHeap::heap()->is_marked(o)),
                       o->klass()->internal_name(), p2i(o->klass()));
       } else {
         tty->print_cr("%s "INT32_FORMAT" ("PTR_FORMAT" dirty -> "PTR_FORMAT" (not in heap, possibly corrupted or dirty)",
                       _prefix, _index,
                       p2i(p), p2i(o));

@@ -77,11 +77,11 @@
 
   void do_object(oop p) {
     if (ShenandoahHeap::heap()->is_in(p)) {
       tty->print_cr("%s object "PTR_FORMAT" (marked: %s) (%s "PTR_FORMAT") refers to:",
                     _prefix, p2i(p),
-                    BOOL_TO_STR(ShenandoahHeap::heap()->is_marked_complete(p)),
+                    BOOL_TO_STR(ShenandoahHeap::heap()->is_marked(p)),
                     p->klass()->internal_name(), p2i(p->klass()));
       ShenandoahPrintAllRefsOopClosure cl(_prefix);
       p->oop_iterate(&cl);
     }
   }

@@ -89,11 +89,11 @@
 
 void ShenandoahPrinter::print_all_refs(const char* prefix) {
   tty->print_cr("printing all references in the heap");
   tty->print_cr("root references:");
 
-  _heap->ensure_parsability(false);
+  _heap->make_tlabs_parsable(false);
 
   ShenandoahPrintAllRefsOopClosure cl(prefix);
   _heap->roots_iterate(&cl);
 
   tty->print_cr("heap references:");
< prev index next >