mid multiverse bug tracing

This commit is contained in:
jboner 2009-08-16 20:37:13 +02:00
parent ae9c93d689
commit 540618ea2d
12 changed files with 4262 additions and 4119 deletions

View file

@ -85,9 +85,11 @@ public final class Ref<E> extends FastAtomicObjectMixin implements ManagedRef<E>
@Override
public E set(final E newRef) {
System.out.println("------------- REF SET 1: " + newRef);
return new AtomicTemplate<E>() {
@Override
public E execute(Transaction t) throws Exception {
System.out.println("------------- REF SET 2: " + newRef);
RefTranlocal<E> tranlocalRef = (RefTranlocal) ((Transaction) t).privatize(Ref.this);
return tranlocalRef.set(newRef);
}