jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-1715) Prevent excessive Path.Element instances
Date Wed, 03 Sep 2008 13:35:44 GMT

     [ https://issues.apache.org/jira/browse/JCR-1715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcel Reutegger resolved JCR-1715.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5

Applied both patches in revisions 691606 and 691607.

> Prevent excessive Path.Element instances
> ----------------------------------------
>
>                 Key: JCR-1715
>                 URL: https://issues.apache.org/jira/browse/JCR-1715
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core, jackrabbit-spi-commons
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: JCR-1715-part1.patch, JCR-1715-part2.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Even when a CachingHierarchyManager is used jackrabbit creates a lot of Path.Element
instances. The internally used PathMap (spi-commons) creates new Path.Element instances whenever
a path is constructed, even when the path is constructed from cached PathMap.Elements.
> Running a test with 10k nodes results in 250k Path.Element instances being created and
held in memory (mostly for events).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message