Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6990124

supplemental fix for 6361589

XMLWordPrintable

    • b02
    • generic
    • generic

        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())) {

              minqi Yumin Qi
              minqi Yumin Qi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: