Uploaded image for project: 'Magnolia License'
  1. Magnolia License
  2. MGNLLIC-87

Reduce calls of synchronized methods in LicenceManager (backport for Magnolia 5.7.x)

XMLWordPrintable

      We found that under heavy load threads get blocked through LicenseManager.getLicenseStatus() callĀ  as it is a synchronized method.

      It was also found that this method is called:

      1. once per request in the RegistrationFilter
      2. once per use of some enterprise module, like MultisiteManager.isEELicensed()

      Additionally the synchronized method calls System.getTimeMillis(), which also is expensive.

        Acceptance criteria

              fgrilli Federico Grilli
              fgrilli Federico Grilli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR