jai-core
  1. jai-core
  2. JAI_CORE-155

Shutdown hook causes ClassLoader leaks in webapp environment

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: None
    • Component/s: codec
    • Labels:
      None

      Description

      The com.sun.media.jai.codec.TempFileCleanupThread shutdown hook added by the static block in com.sun.media.jai.codec.FileCacheSeekableStream will prevent a webapps ClassLoader from being garbage collected, in case the jai_code.jar is part of the webapp (rather than system or app server level).

      Please see http://java.jiderhamn.se/2012/01/01/classloader-leaks-ii-find-and-work-around-unwanted-references/ for further details.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Mattias Jiderhamn
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: