[
https://issues.apache.org/jira/browse/SLING-11119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu resolved SLING-11119.
----------------------------------
Resolution: Fixed
Implemented in [commit
7a48301|https://github.com/apache/sling-org-apache-sling-scripting-core/commit/7a483015b17867b0bd8826f490cffa9211914ddf].
> Optimise the service retrieval for bundled scripts
> --------------------------------------------------
>
> Key: SLING-11119
> URL: https://issues.apache.org/jira/browse/SLING-11119
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Radu Cotescu
> Assignee: Radu Cotescu
> Priority: Major
> Fix For: Scripting Core 2.4.4
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)