diff src/share/vm/gc_interface/collectedHeap.hpp @ 9076:7b835924c31c

8011872: Include Bit Map addresses in the hs_err files Reviewed-by: brutisso, jmasa
author stefank
date Wed, 10 Apr 2013 14:26:49 +0200
parents 59c790074993
children 89e4d67fdd2a f2110083203d
line wrap: on
line diff
--- a/src/share/vm/gc_interface/collectedHeap.hpp	Wed Apr 10 13:27:35 2013 +0200
+++ b/src/share/vm/gc_interface/collectedHeap.hpp	Wed Apr 10 14:26:49 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;