8011343: Add new flag for verifying the heap during startup

Perform verification during VM startup under control of new flag and within a VMOperation.

Reviewed-by: stefank, jmasa, brutisso
This commit is contained in:
John Cuthbertson 2013-04-05 10:20:04 -07:00
parent 0afa77628c
commit 90d010120f
8 changed files with 29 additions and 21 deletions

View file

@ -175,7 +175,8 @@ void VM_HandleFullCodeCache::doit() {
}
void VM_Verify::doit() {
Universe::verify();
Universe::heap()->prepare_for_verify();
Universe::verify(_silent);
}
bool VM_PrintThreads::doit_prologue() {