You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ra...@apache.org on 2022/02/09 13:02:08 UTC

[sling-org-apache-sling-scripting-core] branch master updated (049df56 -> 7a48301)

This is an automated email from the ASF dual-hosted git repository.

radu pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-core.git.


    from 049df56  Merge pull request #11 from bosschaert/SLING-11118
     add 7a48301  SLING-11119 - Optimise the service retrieval for bundled scripts

No new revisions were added by this update.

Summary of changes:
 pom.xml                                            |  14 +-
 .../scripting/core/impl/InternalScriptHelper.java  |   7 +
 .../sling/scripting/core/impl/ServiceCache.java    | 205 +++++++++++++++------
 .../impl/bundled/AbstractBundledRenderUnit.java    |  96 +++-------
 .../impl/bundled/BundleRenderUnitFinderImpl.java   |  44 ++++-
 .../core/impl/bundled/ExecutableUnit.java          |  18 +-
 .../core/impl/bundled/PrecompiledScript.java       |   6 +-
 .../sling/scripting/core/impl/bundled/Script.java  |   6 +-
 .../core/impl/bundled/ScriptContextProvider.java   |  41 +----
 .../scripting/core/impl/ServiceCacheTest.java      | 105 +++++++++++
 .../bundled/AbstractBundledRenderUnitTest.java     |  81 +++++---
 11 files changed, 405 insertions(+), 218 deletions(-)
 create mode 100644 src/test/java/org/apache/sling/scripting/core/impl/ServiceCacheTest.java