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

RFE: no forced suspension in VM shutdown

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 1.4.1
    • 1.4.1
    • hotspot
    • None
    • hopper
    • generic
    • generic

    Description

      To prevent threads from waking up at improper time and accessing data that
      have already been deallocated, we currently suspend almost all threads during
      VM shutdown. This approach may cause a thread to be suspended while it is
      holding a system lock (e.g malloc lock) which can then cause VM hangs.

      This has been a major reliability issue on Linux and Windows (both platforms
      use multiple locks in malloc(), SuspendCheckerThread cannot detect potential
      hangs.) and will be an issue for using 3rd party allocator on Solaris
      (see 4451800).

      Unlike safepoint, thread being suspended at shutdown will be suspended forever,
      so it is important VM shutdown not doing forced suspension.

      Attachments

        Issue Links

          Activity

            People

              hhuangsunw Hui Huang (Inactive)
              hhuangsunw Hui Huang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: