comparison src/share/vm/gc_implementation/g1/heapRegion.hpp @ 1020:ff2402f6a50b

6882730: G1: parallel heap verification messes up region dump Summary: It tidies up the G1 heap verification a bit. In particular, when the verification is done in parallel and there is a failure, this is propagated to the top level and the heap is dumped at the end, not by every thread that encounters a failure. Reviewed-by: johnc, jmasa
author tonyp
date Fri, 02 Oct 2009 16:20:42 -0400
parents 2c79770d1f6e
children 1f19207eefc2
comparison
equal deleted inserted replaced
1019:035d2e036a9b 1020:ff2402f6a50b
796 // NOTE: Only the "prev" marking information is guaranteed to be 796 // NOTE: Only the "prev" marking information is guaranteed to be
797 // consistent most of the time, so most calls to this should use 797 // consistent most of the time, so most calls to this should use
798 // use_prev_marking == true. Currently, there is only one case where 798 // use_prev_marking == true. Currently, there is only one case where
799 // this is called with use_prev_marking == false, which is to verify 799 // this is called with use_prev_marking == false, which is to verify
800 // the "next" marking information at the end of remark. 800 // the "next" marking information at the end of remark.
801 void verify(bool allow_dirty, bool use_prev_marking) const; 801 void verify(bool allow_dirty, bool use_prev_marking, bool *failures) const;
802 802
803 // Override; it uses the "prev" marking information 803 // Override; it uses the "prev" marking information
804 virtual void verify(bool allow_dirty) const; 804 virtual void verify(bool allow_dirty) const;
805 805
806 #ifdef DEBUG 806 #ifdef DEBUG