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

Common ForkJoinPool prevents class unloading in some cases

XMLWordPrintable

        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.

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

                Created:
                Updated:
                Resolved: