VM uselessly traps SIGCHLD on Linux (cleanup)

XMLWordPrintable

    • Type: Backport
    • Resolution: Fixed
    • Priority: P4
    • 1.4.2_11
    • Affects Version/s: None
    • Component/s: hotspot
    • b01

      On both i486 and ia64 Linux the runtime code traps SIGCHLD and handles it as
      follows:

        /* from os_linux_i486.cpp; ia64 code is identical */
        if (sig == SIGCHLD) {
          // cleanup zombie pid for child thread
          ::waitpid(-1, 0, WNOHANG);
          return 1;
        }

      This test, and the corresponding setup of the signal handler to catch SIGCHLD,
      serve no purpose and should be removed. (See 4763362 for details.)

            Assignee:
            Tal Moscovitz (Inactive)
            Reporter:
            Tal Moscovitz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: