Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8345432 (ch, fs) Replace anonymous Thread with InnocuousThread
  3. JDK-8348591

Release Note: The default thread pool used for asynchronous channel operations now uses innocuous threads

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 25
    • 25
    • core-libs
    • generic
    • generic

      The default thread pool for the system-wide default `AsynchronousChannelGroup` is changed to create threads that do not inherit anything from threads that initiate asynchronous I/O operations. Historically, threads in the default thread pool inherited the Thread Context ClassLoader (TCCL) and inheritable-`ThreadLocal`s from the first thread to initiate an asynchronous I/O operation. The change in this release avoids potential memory leak and retention issues that arose when a TCCL or a thread local kept a large graph of objects reachable.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: