Re: svn commit: r1490258 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java

2013-06-06 Thread Jukka Zitting
Hi, On Thu, Jun 6, 2013 at 4:01 PM, Michael Dürig wrote: > On 6.6.13 13:41, ju...@apache.org wrote: >> private Head head() { >> -return head.update(); >> +Head newHead = head.update(); >> +if (newHead != head) { >> +head = newHead; >> +} >> +

Re: svn commit: r1490258 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java

2013-06-06 Thread Michael Dürig
On 6.6.13 13:41, ju...@apache.org wrote: Author: jukka Date: Thu Jun 6 12:41:28 2013 New Revision: 1490258 URL: http://svn.apache.org/r1490258 Log: OAK-781: Clarify / fix effects of MISSING_NODE as base state of NodeBuilder Fix the performance issue of a ConnectedHead never actually updating