mid multiverse bug tracing
This commit is contained in:
parent
ae9c93d689
commit
540618ea2d
12 changed files with 4262 additions and 4119 deletions
|
|
@ -11,9 +11,8 @@
|
|||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="Protobuf" level="application" />
|
||||
<orderEntry type="library" exported="" name="Maven: org.guiceyfruit:guice-core:2.0-SNAPSHOT" level="project" />
|
||||
<orderEntry type="library" exported="" name="Maven: org.guiceyfruit:guice-jsr250:2.0-SNAPSHOT" level="project" />
|
||||
<orderEntry type="library" exported="" name="Maven: javax.annotation:jsr250-api:1.0" level="project" />
|
||||
<orderEntry type="library" exported="" name="Maven: com.google.protobuf:protobuf-java:2.1.0" level="project" />
|
||||
<orderEntry type="library" exported="" name="Maven: org.multiverse:multiverse:0.3" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
|
|
|
|||
2
util-java/src/main/java/se/scalablesolutions/akka/kernel/stm/Ref.java
Executable file → Normal file
2
util-java/src/main/java/se/scalablesolutions/akka/kernel/stm/Ref.java
Executable file → Normal 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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue