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

Chetan Mehrotra commented on OAK-2448:
--------------------------------------

Merged to 1.0 with http://svn.apache.org/r1665908

> Do not create nodeChildren cache entry for leaf
> -----------------------------------------------
>
>                 Key: OAK-2448
>                 URL: https://issues.apache.org/jira/browse/OAK-2448
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.1.6, 1.0.13
>
>
> Currently the DocumentNodeStore populates nodeChildrenCache after a commit 
> with entries for leaf nodes. Those cache entries all have a zero length list 
> and are unnecessary, because the underlying document already has a flag, 
> which indicates whether the node is a leaf. The cache entries created for 
> leaf nodes are never used and only flood the cache.



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

Reply via email to