hotspot/src/share/vm/runtime/init.cpp
changeset 16606 926ac1e006db
parent 15482 470d0b0c09f1
child 19319 0ad35be0733a
--- a/hotspot/src/share/vm/runtime/init.cpp	Wed Mar 27 19:21:18 2013 +0100
+++ b/hotspot/src/share/vm/runtime/init.cpp	Fri Mar 29 13:49:37 2013 -0700
@@ -132,15 +132,6 @@
   javaClasses_init();   // must happen after vtable initialization
   stubRoutines_init2(); // note: StubRoutines need 2-phase init
 
-  // Although we'd like to, we can't easily do a heap verify
-  // here because the main thread isn't yet a JavaThread, so
-  // its TLAB may not be made parseable from the usual interfaces.
-  if (VerifyBeforeGC && !UseTLAB &&
-      Universe::heap()->total_collections() >= VerifyGCStartAt) {
-    Universe::heap()->prepare_for_verify();
-    Universe::verify();   // make sure we're starting with a clean slate
-  }
-
   // All the flags that get adjusted by VM_Version_init and os::init_2
   // have been set so dump the flags now.
   if (PrintFlagsFinal) {