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

Common ForkJoinPool prevents class unloading in some cases

    XMLWordPrintable

Details

    Backports

      Description

        When the ForkJoinPool.commonPool() creates new worker threads, they capture an AccessControlContext from the location where they were created, which means that the class won't get unloaded for the lifetime of that worker thread.

        Attachments

          Issue Links

            Activity

              People

                vklang Viktor Klang
                vklang Viktor Klang
                Votes:
                0 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: