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

Avoid caching JCR property values

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • JCR Resource 2.4.2
    • JCR
    • None

    Description

      The support for ValueMap is currently caching the JCR Value objects and also the JCR Property object.
      If the value map object is held, this might prevent garbage collection within Oak as the value object holds a reference to the revision.

      We should check whether caching is needed at all or if for example we could just cache the value itself but not the JCR Value object

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment