changeset 1990:2b2e90b406ca

6990124: supplemental fix for 6361589 Reviewed-by: coleenp, chrisphi
author minqi
date Thu, 07 Oct 2010 13:51:04 -0700
parents 61e2d45faa7f
children 3ea92ddc62ff
files src/share/vm/utilities/vmError.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/utilities/vmError.cpp	Thu Oct 07 13:49:40 2010 -0700
+++ b/src/share/vm/utilities/vmError.cpp	Thu Oct 07 13:51:04 2010 -0700
@@ -522,7 +522,7 @@
   STEP(135, "(printing target Java thread stack)" )
 
      // printing Java thread stack trace if it is involved in GC crash
-     if (_verbose && (_thread->is_Named_thread())) {
+     if (_verbose && _thread && (_thread->is_Named_thread())) {
        JavaThread*  jt = ((NamedThread *)_thread)->processed_thread();
        if (jt != NULL) {
          st->print_cr("JavaThread " PTR_FORMAT " (nid = " UINTX_FORMAT ") was being processed", jt, jt->osthread()->thread_id());