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

Common ForkJoinPool prevents class unloading in some cases

    XMLWordPrintable

Details

    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:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: