jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (JCR-188) Item states cached in UpdatableItemStateManager not discarded on logout
Date Tue, 16 Aug 2005 13:40:54 GMT
     [ http://issues.apache.org/jira/browse/JCR-188?page=all ]

Stefan Guggisberg reassigned JCR-188:
-------------------------------------

    Assign To: Stefan Guggisberg

> Item states cached in UpdatableItemStateManager not discarded on logout
> -----------------------------------------------------------------------
>
>          Key: JCR-188
>          URL: http://issues.apache.org/jira/browse/JCR-188
>      Project: Jackrabbit
>         Type: Improvement
>   Components: core
>     Reporter: Edgar Poce
>     Assignee: Stefan Guggisberg
>     Priority: Minor

>
> The SessionItemStateManager disposes only the TransientItemStateManager but not the UpdatableItemStateManager.
The latter doesn't release the resources and the cached items keep listening the overlayed
state events until the ReferenceMap do its magic. According to my tests in certain circumstances
it slows down jackrabbit very much. 
> In the charts you can see the time it takes to jackrabbit to save each child node. The
first test uses a single session and the second creates a new session for each added node.
> The patch I attach makes both tests take the same time. Opinions?
> 05-08-16-one session.GIF
> / login
>   / loop
>     / add node
>     / save
> / logout
> 05-08-16-one session per save.GIF
> / loop
>   / login
>   / add node
>   / save
>   / logout

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message