Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1251

DescendantSelfAxisQuery creates too many object instances

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: jackrabbit-core, query
    • Labels:
      None

      Description

      In DescendantSelfAxisQuery.DescendantSelfAxisScorer.isValid() there is an ArrayList and an Integer instance created on every call. Since this method gets called really often during queries the object creation/gc affects performance.

        Attachments

          Activity

            People

            • Assignee:
              ckiehl Christoph Kiehl
              Reporter:
              ckiehl Christoph Kiehl

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment