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

(process) Use SIGCHLD for child termination notification instead of "reaper thread"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      After starting a new process on Unix,
      a "reaper thread" is started to wait for process termination via waitpid.
      It would save one Thread creation per subprocess invocation if we simply had
      a SIGCHLD handler that would set the hasExited field in the appropriate Process
      object.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: