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

(process) Use vfork , not fork, on Linux to avoid swap exhaustion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 7
    • core-libs
    • None
    • b70
    • unknown
    • linux

      The fix for 6850720: (process) Use clone(CLONE_VM), not fork, on Linux to avoid swap exhaustion didn't quite work on linux-x86_64, perhaps because of bugs in glibc.

      We changed the default back to fork() in
      6853336: (process) disable or remove clone-exec feature (6850720)

      vfork appears to be more reliable.

            michaelm Michael McMahon
            michaelm Michael McMahon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: