Mercurial > hg > truffle
comparison src/share/vm/gc_interface/collectedHeap.hpp @ 3772:6747fd0512e0
7004681: G1: Extend marking verification to Full GCs
Summary: Perform a heap verification after the first phase of G1's full GC using objects' mark words to determine liveness. The third parameter of the heap verification routines, which was used in G1 to determine which marking bitmap to use in liveness calculations, has been changed from a boolean to an enum with values defined for using the mark word, and the 'prev' and 'next' bitmaps.
Reviewed-by: tonyp, ysr
author | johnc |
---|---|
date | Tue, 14 Jun 2011 11:01:10 -0700 |
parents | 2aa9ddbb9e60 |
children | c9ca3f51cf41 |
comparison
equal
deleted
inserted
replaced
3771:842b840e67db | 3772:6747fd0512e0 |
---|---|
604 // Print any relevant tracing info that flags imply. | 604 // Print any relevant tracing info that flags imply. |
605 // Default implementation does nothing. | 605 // Default implementation does nothing. |
606 virtual void print_tracing_info() const = 0; | 606 virtual void print_tracing_info() const = 0; |
607 | 607 |
608 // Heap verification | 608 // Heap verification |
609 virtual void verify(bool allow_dirty, bool silent, bool option) = 0; | 609 virtual void verify(bool allow_dirty, bool silent, VerifyOption option) = 0; |
610 | 610 |
611 // Non product verification and debugging. | 611 // Non product verification and debugging. |
612 #ifndef PRODUCT | 612 #ifndef PRODUCT |
613 // Support for PromotionFailureALot. Return true if it's time to cause a | 613 // Support for PromotionFailureALot. Return true if it's time to cause a |
614 // promotion failure. The no-argument version uses | 614 // promotion failure. The no-argument version uses |