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

DescendantSelfAxisQuery creates too many object instances

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.4
    • jackrabbit-core, query
    • 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

        1. JCR-1251.patch
          1 kB
          Marcel Reutegger
        2. DescendantSelfAxisQuery-patch.txt
          2 kB
          Christoph Kiehl

        Activity

          People

            ckiehl Christoph Kiehl
            ckiehl Christoph Kiehl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: