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

Jukka Zitting commented on OAK-1757:
------------------------------------

A minor update in revision 1589789 (merged to 1.0 in 1589791) removes the 
public {{DEFAULT_FAST_CLOCK_INTERVAL}} constant by making 
{{FAST_CLOCK_INTERVAL}} package-private and using it directly from the test 
case instead of recomputing the value based on the default.

> Oak eats too many CPU cycles when idle
> --------------------------------------
>
>                 Key: OAK-1757
>                 URL: https://issues.apache.org/jira/browse/OAK-1757
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 1.0
>
>
> An idle Oak eats roughly 5% of my CPU cycles. 
> This is caused by the {{Clock}} implementations introduced at 
> http://svn.apache.org/viewvc?view=revision&revision=1575050. Scheduling the 
> fast clock to update its time every millisecond is quite expensive. 
> Substituting for the simple clock reduces idle CPU usage to below 1%. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to