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

The use of finalize in ResourceResolver leads to performance issues

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Resource Resolver 1.1.12
    • Resource Resolver 1.1.14
    • None
    • None

    Description

      Currently there is a finalizer implemented for the ResourceResolverImpl (http://svn.apache.org/repos/asf/sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverImpl.java).

      This defers garbage collection. For a more detailed analysis and also some metrics around that have a look at https://issues.apache.org/jira/browse/JCR-2768.
      A similar approach like in the patch attached to JCR-2768 should be implemented for the ResourceResolverImpl.

      Attachments

        Issue Links

          Activity

            People

              cziegeler Carsten Ziegeler
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: