hotspot/src/share/vm/memory/universe.cpp
changeset 17112 e49af4ba7755
parent 16672 152c041083e1
child 17370 59a0620561fa
child 18061 cd92ca4c1331
--- a/hotspot/src/share/vm/memory/universe.cpp	Wed Apr 24 14:48:43 2013 -0700
+++ b/hotspot/src/share/vm/memory/universe.cpp	Wed Apr 24 20:13:37 2013 +0200
@@ -1270,7 +1270,7 @@
   st->print_cr("}");
 }
 
-void Universe::verify(bool silent, VerifyOption option) {
+void Universe::verify(VerifyOption option, const char* prefix, bool silent) {
   // The use of _verify_in_progress is a temporary work around for
   // 6320749.  Don't bother with a creating a class to set and clear
   // it since it is only used in this method and the control flow is
@@ -1287,11 +1287,12 @@
   HandleMark hm;  // Handles created during verification can be zapped
   _verify_count++;
 
+  if (!silent) gclog_or_tty->print(prefix);
   if (!silent) gclog_or_tty->print("[Verifying ");
   if (!silent) gclog_or_tty->print("threads ");
   Threads::verify();
+  if (!silent) gclog_or_tty->print("heap ");
   heap()->verify(silent, option);
-
   if (!silent) gclog_or_tty->print("syms ");
   SymbolTable::verify();
   if (!silent) gclog_or_tty->print("strs ");