1.1 --- a/src/share/vm/gc_interface/collectedHeap.hpp Wed Apr 10 13:27:35 2013 +0200 1.2 +++ b/src/share/vm/gc_interface/collectedHeap.hpp Wed Apr 10 14:26:49 2013 +0200 1.3 @@ -567,6 +567,14 @@ 1.4 print_on(st); 1.5 } 1.6 1.7 + virtual void print_on_error(outputStream* st) const { 1.8 + st->print_cr("Heap:"); 1.9 + print_extended_on(st); 1.10 + st->cr(); 1.11 + 1.12 + _barrier_set->print_on(st); 1.13 + } 1.14 + 1.15 // Print all GC threads (other than the VM thread) 1.16 // used by this heap. 1.17 virtual void print_gc_threads_on(outputStream* st) const = 0;