mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
7004681: G1: Extend marking verification to Full GCs
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
This commit is contained in:
parent
015e872efe
commit
b94d0b830c
14 changed files with 309 additions and 198 deletions
|
@ -1278,7 +1278,7 @@ void Universe::print_heap_after_gc(outputStream* st) {
|
|||
st->print_cr("}");
|
||||
}
|
||||
|
||||
void Universe::verify(bool allow_dirty, bool silent, bool option) {
|
||||
void Universe::verify(bool allow_dirty, bool silent, VerifyOption option) {
|
||||
if (SharedSkipVerify) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue