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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 6
    • core-libs
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: