1.1 --- a/src/share/vm/utilities/vmError.cpp Wed Oct 20 13:18:17 2010 -0700 1.2 +++ b/src/share/vm/utilities/vmError.cpp Thu Oct 21 11:55:10 2010 -0700 1.3 @@ -455,6 +455,14 @@ 1.4 st->cr(); 1.5 } 1.6 1.7 + STEP(105, "(printing register info)") 1.8 + 1.9 + // decode register contents if possible 1.10 + if (_verbose && _context && Universe::is_fully_initialized()) { 1.11 + os::print_register_info(st, _context); 1.12 + st->cr(); 1.13 + } 1.14 + 1.15 STEP(110, "(printing stack bounds)" ) 1.16 1.17 if (_verbose) { 1.18 @@ -522,7 +530,7 @@ 1.19 STEP(135, "(printing target Java thread stack)" ) 1.20 1.21 // printing Java thread stack trace if it is involved in GC crash 1.22 - if (_verbose && (_thread->is_Named_thread())) { 1.23 + if (_verbose && _thread && (_thread->is_Named_thread())) { 1.24 JavaThread* jt = ((NamedThread *)_thread)->processed_thread(); 1.25 if (jt != NULL) { 1.26 st->print_cr("JavaThread " PTR_FORMAT " (nid = " UINTX_FORMAT ") was being processed", jt, jt->osthread()->thread_id()); 1.27 @@ -608,6 +616,14 @@ 1.28 st->cr(); 1.29 } 1.30 1.31 + STEP(195, "(printing code cache information)" ) 1.32 + 1.33 + if (_verbose && Universe::is_fully_initialized()) { 1.34 + // print code cache information before vm abort 1.35 + CodeCache::print_bounds(st); 1.36 + st->cr(); 1.37 + } 1.38 + 1.39 STEP(200, "(printing dynamic libraries)" ) 1.40 1.41 if (_verbose) {