1.1 --- a/src/share/vm/gc_implementation/g1/heapRegion.hpp Thu Jun 11 13:31:01 2009 -0700 1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegion.hpp Fri Jun 12 16:20:16 2009 -0400 1.3 @@ -782,7 +782,16 @@ 1.4 void print() const; 1.5 void print_on(outputStream* st) const; 1.6 1.7 - // Override 1.8 + // use_prev_marking == true -> use "prev" marking information, 1.9 + // use_prev_marking == false -> use "next" marking information 1.10 + // NOTE: Only the "prev" marking information is guaranteed to be 1.11 + // consistent most of the time, so most calls to this should use 1.12 + // use_prev_marking == true. Currently, there is only one case where 1.13 + // this is called with use_prev_marking == false, which is to verify 1.14 + // the "next" marking information at the end of remark. 1.15 + void verify(bool allow_dirty, bool use_prev_marking) const; 1.16 + 1.17 + // Override; it uses the "prev" marking information 1.18 virtual void verify(bool allow_dirty) const; 1.19 1.20 #ifdef DEBUG