Explicitly stop CMS threads during VM termination.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: 8, 9
    • Component/s: hotspot
    • gc
    • b96

      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.

            Assignee:
            Jungwoo Ha (Inactive)
            Reporter:
            Jungwoo Ha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: