[ 
https://issues.apache.org/jira/browse/JCR-2643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872169#action_12872169
 ] 

Marcel Reutegger commented on JCR-2643:
---------------------------------------

jcr-benchmark results

current:

Test case                               Mean    Sdev     Min     Max   Count
----------------------------------------------------------------------------
1000 x login()                            82     115      47    1105     405
1000 x login().logout()                   87      84      53     406     575
1000 x logout() after reads              128      94     100    1027     105

patched:

Test case                               Mean    Sdev     Min     Max   Count
----------------------------------------------------------------------------
1000 x login()                            80     114      46    1106     472
1000 x login().logout()                   87      84      52     353     581
1000 x logout() after reads               34      96      15    1102     142


> Avoid item state reads during Session.logout()
> ----------------------------------------------
>
>                 Key: JCR-2643
>                 URL: https://issues.apache.org/jira/browse/JCR-2643
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Priority: Minor
>         Attachments: JCR-2643.patch, jcr-benchmark.patch
>
>
> This is a follow up issue for JCR-2231. There's a second 
> CachingHierarchyManager attached to the LocalItemStateManager, which it 
> unregistered too late and causes reads on the SharedItemStateManager on 
> Session logout. The hierarchy manager should be unregistered as listener 
> before the state manager is disposed.

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

Reply via email to