You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (Jira)" <ji...@apache.org> on 2022/02/08 16:37:00 UTC
[jira] [Updated] (SLING-11119) Optimise the service retrieval for bundled scripts
[ https://issues.apache.org/jira/browse/SLING-11119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radu Cotescu updated SLING-11119:
---------------------------------
Summary: Optimise the service retrieval for bundled scripts (was: Optimise service retrieval for bundled scripts)
> 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: 10m
> 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)