jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-688) Improve name resolution
Date Thu, 21 Dec 2006 12:30:36 GMT
    [ http://issues.apache.org/jira/browse/JCR-688?page=comments#action_12460243 ] 
            
Jukka Zitting commented on JCR-688:
-----------------------------------

Is the cache even required?

It seems to me that the operations that we try to speed up using the cache are very small
and fast in any case, i.e. simple string parsing and concatenation. Sure, it adds up to a
large number of short-lived object allocations, but a generational garbage collector shouldn't
have much trouble handling that.

Do we have some performance numbers to validate the need for caching in this case?

> Improve name resolution
> -----------------------
>
>                 Key: JCR-688
>                 URL: http://issues.apache.org/jira/browse/JCR-688
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jukka Zitting
>            Priority: Minor
>             Fix For: 1.3
>
>
> As discussed in JCR-685, the current CachingNamespaceResolver class contains excessive
synchronization causing monitor contention that reduces performance.
> In JCR-685 there's a proposed patch that replaces synchronization with a read-write lock
that would allow concurrent read access to the name cache.

-- 
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