JDK-6990124 : supplemental fix for 6361589
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 6u21
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-10-07
  • Updated: 2014-03-14
  • Resolved: 2010-10-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 Other
6u23 b02Fixed hs19Fixed
Description
In 6361589 fix, if VMerror constructed with _thread assigned NULL, the following code could crash:
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()) { 

The correct should be:

STEP(135, "(printing target Java thread stack)" )

     // printing Java thread stack trace if it is involved in GC crash
     if (_verbose && _thread && (_thread->is_Named_thread())) {

Comments
EVALUATION http://hg.openjdk.java.net/hsx/hsx19/baseline/rev/2b2e90b406ca
08-10-2010

SUGGESTED FIX http://jpsesvr.sfbay.sun.com:8080/ctetools/html/ViewDetail.jsp?index=3767
07-10-2010

EVALUATION see description.
07-10-2010