Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11119

Optimise the service retrieval for bundled scripts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Scripting Core 2.4.4
    • Scripting
    • None

    Description

      The bundled scripts currently have an OSGi service cache per instance, however in the org.apache.sling.scripting.core.impl.bundled.ScriptContextProvider there's already a service cache per bundle context which could be reused. This would save significant memory in systems where there are a lot of bundled scripts.

      Attachments

        Issue Links

          Activity

            People

              radu Radu Cotescu
              radu Radu Cotescu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m