Mercurial > hg > truffle
diff src/share/vm/memory/genCollectedHeap.cpp @ 9071:68fe50d4f1d5
8011343: Add new flag for verifying the heap during startup
Summary: Perform verification during VM startup under control of new flag and within a VMOperation.
Reviewed-by: stefank, jmasa, brutisso
author | johnc |
---|---|
date | Fri, 05 Apr 2013 10:20:04 -0700 |
parents | 79af1312fc2c |
children | 7b835924c31c |
line wrap: on
line diff
--- a/src/share/vm/memory/genCollectedHeap.cpp Thu Apr 04 21:15:43 2013 -0700 +++ b/src/share/vm/memory/genCollectedHeap.cpp Fri Apr 05 10:20:04 2013 -0700 @@ -819,12 +819,13 @@ // Returns "TRUE" iff "p" points into the committed areas of the heap. bool GenCollectedHeap::is_in(const void* p) const { #ifndef ASSERT - guarantee(VerifyBeforeGC || - VerifyDuringGC || - VerifyBeforeExit || - PrintAssembly || - tty->count() != 0 || // already printing - VerifyAfterGC || + guarantee(VerifyBeforeGC || + VerifyDuringGC || + VerifyBeforeExit || + VerifyDuringStartup || + PrintAssembly || + tty->count() != 0 || // already printing + VerifyAfterGC || VMError::fatal_error_in_progress(), "too expensive"); #endif