hotspot/src/share/vm/memory/universe.cpp
changeset 18061 cd92ca4c1331
parent 18056 0e99ee964114
parent 17112 e49af4ba7755
child 18063 3a0a5b11ab14
--- a/hotspot/src/share/vm/memory/universe.cpp	Wed May 01 14:11:01 2013 +0100
+++ b/hotspot/src/share/vm/memory/universe.cpp	Wed May 08 15:25:08 2013 +0100
@@ -1290,7 +1290,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
@@ -1307,11 +1307,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 ");