Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13704

Remove lock in the XWikiCacheStore

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 8.3-rc-1
    • 8.3-milestone-2
    • Old Core
    • Unknown
    • N/A
    • N/A

    Description

      All methods of the XWikiCacheStore store are locking to check if the cache is initialized. Lock is never really cheap plus here the cache is already initialized 99.99% of the time which make this lock useful for very rare use cases.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: