Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-12549

JIRA leaks instances of the VelocityEngine in several places

    XMLWordPrintable

Details

    Description

      There's a couple of places in JIRA where we leak (or could potentially leak) the VelocityEngine directly or indirectly via the WW-ActionContext threadlocal.

      These are:

      • WebWorkAdaptor.mapJellyTagToAction (finalizeContext should be in finally block)
      • JiraPluginWebworkVelocityServlet (static declaration of VelocityManager)
      • SearchContextImpl.GLOBAL_SEARCH_CONTEXT may hold on to VelocityManagers (via several links)
      • QuickLinkServlet: locally caches several managers that may hold on to the VelocityManager/Engine.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andreask@atlassian.com Andreas Knecht (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: