No description
(don't get your hopes up just yet: ActorPoolSpec still failing) The issue was that during the LocalActorRef constructor 'this' was published via the ActorCell's start method. The JMM's visibility guarantee for final fields is only valid after the constructor returned, thus I introduced a store-load barrier before calling ActorCell.start by making actorCell a @volatile var (not sure what @volatile val means). That way every user of the ActorRef reads the volatile field before anything else, ensuring proper publication of the whole LocalActorRef/ActorCell conglomerate (where the latter has quite a lot of non-final fields). |
||
|---|---|---|
| akka-actor/src/main | ||
| akka-actor-tests/src | ||
| akka-camel/src | ||
| akka-camel-typed/src | ||
| akka-cluster/src | ||
| akka-docs | ||
| akka-durable-mailboxes | ||
| akka-kernel/src/main/scala/akka | ||
| akka-remote/src | ||
| akka-samples | ||
| akka-sbt-plugin/src/main/scala | ||
| akka-slf4j/src/main/scala/akka/event/slf4j | ||
| akka-spring/src | ||
| akka-stm/src | ||
| akka-testkit/src | ||
| akka-tutorials/akka-tutorial-first | ||
| config | ||
| project | ||
| scripts | ||
| .gitignore | ||
| .history | ||
| LICENSE | ||
| README.textile | ||
h1. Akka We believe that writing correct concurrent, fault-tolerant and scalable applications is too hard. Most of the time it's because we are using the wrong tools and the wrong level of abstraction. Akka is here to change that. Using the Actor Model together with Software Transactional Memory we raise the abstraction level and provide a better platform to build correct concurrent and scalable applications. For fault-tolerance we adopt the "Let it crash":http://letitcrash.com model which have been used with great success in the telecom industry to build applications that self-heal, systems that never stop. Actors also provide the abstraction for transparent distribution and the basis for truly scalable and fault-tolerant applications. Akka is Open Source and available under the Apache 2 License. Learn more at "http://akka.io":http://akka.io.