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

Avoid caching JCR property values

    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

        1. SLING-4307_stream_test.patch
          3 kB
          Radu Cotescu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: