diff src/share/vm/gc_interface/collectedHeap.hpp @ 9088:89e4d67fdd2a

Merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Fri, 12 Apr 2013 14:05:42 +0200
parents 86b4965f0c9a 7b835924c31c
children 836a62f43af9
line wrap: on
line diff
--- a/src/share/vm/gc_interface/collectedHeap.hpp	Fri Apr 12 11:24:56 2013 +0200
+++ b/src/share/vm/gc_interface/collectedHeap.hpp	Fri Apr 12 14:05:42 2013 +0200
@@ -567,6 +567,14 @@
     print_on(st);
   }
 
+  virtual void print_on_error(outputStream* st) const {
+    st->print_cr("Heap:");
+    print_extended_on(st);
+    st->cr();
+
+    _barrier_set->print_on(st);
+  }
+
   // Print all GC threads (other than the VM thread)
   // used by this heap.
   virtual void print_gc_threads_on(outputStream* st) const = 0;