jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chetan Mehrotra <chetan.mehro...@gmail.com>
Subject Re: svn commit: r1505988 - in /jackrabbit/oak/trunk: oak-core/src/main/java/org/apache/jackrabbit/oak/core/ oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/ oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/ oak-core/src/main/java/org/...
Date Tue, 23 Jul 2013 12:05:37 GMT
Should the synchronization be done on "this" or some other object
which is common across branch instances as there can be multiple
instances of the branch

On Tue, Jul 23, 2013 at 5:15 PM,  <mduerig@apache.org> wrote:
> +        synchronized (this) {
> +            rebase();
> +            NodeState toCommit = checkNotNull(hook).processCommit(base, head);
> +            NodeState oldRoot = head;
> +            head = toCommit;



Chetan Mehrotra

Mime
View raw message