diff src/share/vm/memory/universe.hpp @ 4073:53074c2c4600

7099849: G1: include heap region information in hs_err files Reviewed-by: johnc, brutisso, poonam
author tonyp
date Tue, 08 Nov 2011 00:41:28 -0500
parents fdb992d83a87
children 09d00c18e323
line wrap: on
line diff
--- a/src/share/vm/memory/universe.hpp	Mon Nov 07 22:11:12 2011 -0500
+++ b/src/share/vm/memory/universe.hpp	Tue Nov 08 00:41:28 2011 -0500
@@ -414,9 +414,13 @@
   static bool verify_in_progress() { return _verify_in_progress; }
   static void verify(bool allow_dirty = true, bool silent = false,
                      VerifyOption option = VerifyOption_Default );
-  static int  verify_count()                  { return _verify_count; }
+  static int  verify_count()       { return _verify_count; }
+  // The default behavior is to call print_on() on gclog_or_tty.
   static void print();
-  static void print_on(outputStream* st);
+  // The extended parameter determines which method on the heap will
+  // be called: print_on() (extended == false) or print_extended_on()
+  // (extended == true).
+  static void print_on(outputStream* st, bool extended = false);
   static void print_heap_at_SIGBREAK();
   static void print_heap_before_gc() { print_heap_before_gc(gclog_or_tty); }
   static void print_heap_after_gc()  { print_heap_after_gc(gclog_or_tty); }