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

Avoid caching JCR property values

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: JCR Resource 2.4.2
    • Component/s: JCR
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: