6890137: G1: revamp reachable object dump

Revamp the reachable object dump debugging facility.

Reviewed-by: jmasa, apetrusenko
This commit is contained in:
Antonios Printezis 2009-09-30 14:50:51 -04:00
parent 7c9b6d8d16
commit 2c2a8ae8b1
4 changed files with 115 additions and 110 deletions

View file

@ -612,10 +612,11 @@ public:
// 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();