-
Bug
-
Resolution: Fixed
-
P3
-
6u21
-
b02
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2201504 | hs19 | Yumin Qi | P3 | Closed | Fixed | b09 |
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())) {
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())) {
- backported by
-
JDK-2201504 supplemental fix for 6361589
- Closed