Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp @ 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 |
---|---|
899 tty->print_cr("[Accumulated GC generation 1 time %3.7f secs]", time); | 899 tty->print_cr("[Accumulated GC generation 1 time %3.7f secs]", time); |
900 } | 900 } |
901 } | 901 } |
902 | 902 |
903 | 903 |
904 void ParallelScavengeHeap::verify(bool allow_dirty, bool silent, bool option /* ignored */) { | 904 void ParallelScavengeHeap::verify(bool allow_dirty, bool silent, VerifyOption option /* ignored */) { |
905 // Why do we need the total_collections()-filter below? | 905 // Why do we need the total_collections()-filter below? |
906 if (total_collections() > 0) { | 906 if (total_collections() > 0) { |
907 if (!silent) { | 907 if (!silent) { |
908 gclog_or_tty->print("permanent "); | 908 gclog_or_tty->print("permanent "); |
909 } | 909 } |