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

(aio) Default thread pool should be configured so that threads terminated after a timeout period

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8
    • 8
    • core-libs
    • b68
    • generic
    • generic
    • Not verified

    Description

      In the asycnhronous I/O API then the default thread pool is a cached thread pool as it may be shared by different applications/components in the same VM. These therads remain running and do not terminate after an idle time. We should change so that they terminate after 60s or so when not used. The only exception is older editions of Windows as they do not support thread agnostic I/O. This means that on older versions of Windows then the threads cannot terminate.

      Attachments

        Activity

          People

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: