Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and 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

              Assignee:
              Unassigned
              Reporter:
              andreask@atlassian.com Andreas Knecht
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: