Uploaded image for project: 'atlassian-seraph'
  1. atlassian-seraph
  2. SER-197

PathMapper cache is unnecessarily wasteful of memory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 2.6.1
    • None
    • false

      As can be seen from the attached screenshot, CachedPathMapper.cacheAllMap caches the security rules that apply for each individual URL that is queried and the value is nearly always (at least in JIRA's case) an empty collection with the default size of 10. Further, the cache is not bounded by either space or time.

      There must be a better way.

              Unassigned Unassigned
              cfuller crf
              crf
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                10 years, 26 weeks, 2 days ago