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

(process) Process::destroy should be graceful on Windows

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 8u11
    • core-libs
    • x86
    • windows_8

      A DESCRIPTION OF THE REQUEST :
      Current implementation on Windows JVM is to issue a TerminateProcess() on Process::destroy().

      Now that Java8 has a Process::destroyForcibly(), which currently delegates to destroy(), the two methods should have separate implementations.

      destroyForcibly() should call TerminateProcess()
      destroy() should call ExitProcess()


      JUSTIFICATION :
      This will allow shutdown hooks to be called on Process::destroy(), just like on Solaris/Linux.



            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: