You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2016/04/21 11:27:25 UTC

[jira] [Commented] (OAK-4263) LIRS cache: excessive use of notifyAll

    [ https://issues.apache.org/jira/browse/OAK-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15251619#comment-15251619 ] 

Thomas Mueller commented on OAK-4263:
-------------------------------------

The "LOG.info("CacheLIRS with less notifyAll")" is not necessary, and a test is missing.

> LIRS cache: excessive use of notifyAll
> --------------------------------------
>
>                 Key: OAK-4263
>                 URL: https://issues.apache.org/jira/browse/OAK-4263
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: 1.6
>
>
> The LIRS cache tries to avoid loading the same cache entry concurrently. To notify a possible waiting thread, it uses notifyAll. This is a relatively expensive operation, and should be avoided if possible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)