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

Explicitly stop CMS threads during VM termination.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b96

      Description

      Inside before_exit(), it says

        // Stop concurrent GC threads
        Universe::heap()->stop();

      but GenCollectedHeap never implemented stop() method, and thus calling empty SharedHeap::stop() method.

      This causes CMS threads running during the VM termination and ends up crashing.

        Attachments

          Activity

            People

            • Assignee:
              jwha Jungwoo Ha
              Reporter:
              jwha Jungwoo Ha
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: