Mercurial > hg > graal-jvmci-8
diff src/share/vm/classfile/systemDictionary.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 | 0ca3dd0ffaba |
children | 89e4d67fdd2a 800078be49d2 |
line wrap: on
line diff
--- a/src/share/vm/classfile/systemDictionary.cpp Thu Apr 04 21:15:43 2013 -0700 +++ b/src/share/vm/classfile/systemDictionary.cpp Fri Apr 05 10:20:04 2013 -0700 @@ -1592,9 +1592,10 @@ // Used for assertions and verification only Klass* SystemDictionary::find_class(Symbol* class_name, ClassLoaderData* loader_data) { #ifndef ASSERT - guarantee(VerifyBeforeGC || - VerifyDuringGC || - VerifyBeforeExit || + guarantee(VerifyBeforeGC || + VerifyDuringGC || + VerifyBeforeExit || + VerifyDuringStartup || VerifyAfterGC, "too expensive"); #endif assert_locked_or_safepoint(SystemDictionary_lock);