diff src/share/vm/gc_implementation/g1/concurrentMark.hpp @ 1044:6270f80a7331

6890137: G1: revamp reachable object dump Summary: Revamp the reachable object dump debugging facility. Reviewed-by: jmasa, apetrusenko
author tonyp
date Wed, 30 Sep 2009 14:50:51 -0400
parents 11d4857fe5e1
children 2a1472c30599
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/concurrentMark.hpp	Fri Oct 23 14:34:27 2009 -0400
+++ b/src/share/vm/gc_implementation/g1/concurrentMark.hpp	Wed Sep 30 14:50:51 2009 -0400
@@ -612,10 +612,11 @@
   // we do nothing.
   void markAndGrayObjectIfNecessary(oop p);
 
-  // This iterates over the bitmap of the previous marking and prints
-  // out all objects that are marked on the bitmap and indicates
-  // whether what they point to is also marked or not.
-  void print_prev_bitmap_reachable();
+  // This iterates over the marking bitmap (either prev or next) and
+  // prints out all objects that are marked on the bitmap and indicates
+  // whether what they point to is also marked or not. It also iterates
+  // the objects over TAMS (either prev or next).
+  void print_reachable(bool use_prev_marking, const char* str);
 
   // Clear the next marking bitmap (will be called concurrently).
   void clearNextBitmap();