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] Commented: (JCR-2231) Avoid item state reads during Session.logout()
Date Wed, 29 Jul 2009 10:02:14 GMT

    [ https://issues.apache.org/jira/browse/JCR-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736549#action_12736549

Stefan Guggisberg commented on JCR-2231:

+1 for the patch, thanks!

> Avoid item state reads during Session.logout()
> ----------------------------------------------
>                 Key: JCR-2231
>                 URL: https://issues.apache.org/jira/browse/JCR-2231
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>            Reporter: Marcel Reutegger
>            Priority: Minor
>         Attachments: JCR-2231.patch
> Local item states are discarded during Session.logout(). Currently the CachingHierarchyManager
is still registered as a item state listener at that time and will cause numerous ItemStateManager.hasItemState()
calls. This is unnecessary and just adds overhead to the logout call. In addition it will
also contribute to a potential lock contention on the SharedItemStateManager.

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

View raw message