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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 8u11
    • Component/s: 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.



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

              Created:
              Updated: