# HG changeset patch # User minqi # Date 1286484664 25200 # Node ID 2b2e90b406ca0ce6c9709036c91b274c0c112b34 # Parent 61e2d45faa7f39b7f194b5d5612451754218c4ef 6990124: supplemental fix for 6361589 Reviewed-by: coleenp, chrisphi diff -r 61e2d45faa7f -r 2b2e90b406ca src/share/vm/utilities/vmError.cpp --- 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());