Commit graph

2994 commits

Author SHA1 Message Date
Viktor Klang
3dd4cb99b1 Removing verbose type annotation 2011-03-18 11:18:03 +01:00
Viktor Klang
2255be4f0c Fixing stall issue in remote pipeline 2011-03-18 10:41:49 +01:00
Viktor Klang
452a97db3f Reducing overhead and locking involved in Futures.fold and Futures.reduce 2011-03-18 01:21:26 +01:00
Viktor Klang
8b8999cf32 Merge branch 'master' of github.com:jboner/akka 2011-03-17 22:58:28 +01:00
Roland Kuhn
52e5e35e50 Merge branch 'wip-CallingThreadDispatcher'
Conflicts:
	akka-actor/src/test/scala/akka/dispatch/ActorModelSpec.scala
	project/build/AkkaProject.scala
both resolved by "union" approach

- change wavesOfActors test for CTD: scheduling SHUTDOWN 10000 times does not
  work so well...
- add executeFuture with trivial implementation, TBC
2011-03-17 22:18:39 +01:00
Roland Kuhn
18080cbb89 make FSMTimingSpec more deterministic
The test for repeated timer had a race condition between receiving the sixth
Tick and the Cancel message. Fix this by cancelling from within after the fifth
Tick received.
2011-03-17 20:49:38 +01:00
Roland Kuhn
d15e5e7919 ignore VIM swap files (and clean up previous accident) 2011-03-17 17:59:22 +01:00
Viktor Klang
7cf5e5919b Making sure that theres no allocation for ActorRef.invoke() 2011-03-16 21:40:02 +01:00
Viktor Klang
53c8dfff7b Adding yet another comment to ActorPool 2011-03-16 21:18:10 +01:00
Viktor Klang
a5aa5b4a7d Faster than Derek! Changing completeWith(Future) to be lazy and not eager 2011-03-16 21:17:38 +01:00
Viktor Klang
6ee5420147 Added some more comments to ActorPool 2011-03-16 19:36:16 +01:00
Viktor Klang
1c649d47e4 ActorPool code cleanup, fixing some qmarks and some minor defects 2011-03-16 19:31:54 +01:00
Viktor Klang
d237e09740 Restructuring some methods in ActorPool, and switch to PoisonPill for postStop cleanup, to let workers finish their tasks before shutting down 2011-03-16 14:13:48 +01:00
Viktor Klang
f7e215c1be Refactoring, reformatting and fixes to ActorPool, including ticket 705 2011-03-16 13:20:00 +01:00
Viktor Klang
fadd30e96b Fixing #706 2011-03-16 12:37:48 +01:00
Viktor Klang
2d80ff4e04 Just saved 3 allocations per Actor instance 2011-03-16 01:07:40 +01:00
Viktor Klang
2a88dd67a9 Switching to unfair locking 2011-03-15 10:08:51 +01:00
Viktor Klang
3880506620 Adding a test for ticket 703 2011-03-15 01:00:02 +01:00
Viktor Klang
63bad2bb12 No, seriously, fixing ticket #703 2011-03-15 00:53:40 +01:00
Viktor Klang
38b291749a Upgrading the fix for overloading and TypedActors 2011-03-14 19:00:52 +01:00
Viktor Klang
a856913960 Moving AkkaLoader from akka.servlet in akka-http to akka.util, closing ticket #701 2011-03-14 17:53:35 +01:00
Viktor Klang
b83268d6c9 Removign leftover debug statement. My bad. 2011-03-14 17:04:21 +01:00
Viktor Klang
63bbf4d0a7 Merge with master 2011-03-14 16:29:22 +01:00
Viktor Klang
98d9ce8ec5 Fixing ticket #703 and reformatting Pool.scala 2011-03-14 16:03:47 +01:00
Viktor Klang
f4a45631d5 Adding a unit test for ticket 552, but havent solved the ticket 2011-03-14 14:40:03 +01:00
Viktor Klang
74257b28c6 All tests pass, might actually have solved the typed actor method resolution issue 2011-03-14 14:17:54 +01:00
Jonas Bonér
ac0273b5eb changed event handler dispatcher name 2011-03-14 13:38:27 +01:00
Viktor Klang
a1c6c6572d Pulling out _resolveMethod_ from NettyRemoteSupport and moving it into ReflectiveAccess 2011-03-14 12:17:59 +01:00
Viktor Klang
875c45cc36 Potential fix for the remote dispatch of TypedActor methods when overloading is used. 2011-03-14 11:49:37 +01:00
Viktor Klang
292abdb4ed Fixing ReadTimeoutException, and implement proper shutdown after timeout 2011-03-14 11:21:41 +01:00
Jonas Bonér
dd69a4b763 Added generic event handler 2011-03-14 11:12:23 +01:00
Jonas Bonér
c8f1d10c62 Merge branch 'master' of github.com:jboner/akka 2011-03-14 10:45:55 +01:00
Jonas Bonér
33dc617810 Changed API for EventHandler and added support for log levels 2011-03-14 10:45:49 +01:00
Viktor Klang
8b0362275e Merge branch 'master' of github.com:jboner/akka 2011-03-14 08:30:12 +01:00
Viktor Klang
b2b84d8414 Reverting change to SynchronousQueue 2011-03-14 08:29:54 +01:00
Viktor Klang
d99ef9b5cd Revert "Switching ThreadBasedDispatcher to use SynchronousQueue since only one actor should be in it"
This reverts commit f980dc3f23.
2011-03-14 08:27:47 +01:00
Martin Krasser
9f15439969 Merge branch '647-krasserm' 2011-03-13 06:55:57 +01:00
Viktor Klang
f980dc3f23 Switching ThreadBasedDispatcher to use SynchronousQueue since only one actor should be in it 2011-03-11 23:13:31 +01:00
Derek Williams
e2c36e041d Merge branch 'future-covariant' 2011-03-11 14:06:42 -07:00
Derek Williams
67ead66b32 Improve Future API when using UntypedActors, and add overloads for Java API 2011-03-11 12:50:57 -07:00
Viktor Klang
626d44d3ea Optimization for the mostly used mailbox, switch to non-blocking queue 2011-03-11 20:06:49 +01:00
Viktor Klang
f624cb49a2 Beefed up the concurrency level for the mailbox tests 2011-03-11 16:58:31 +01:00
Viktor Klang
9418c3436e Adding a rather untested BoundedBlockingQueue to wrap PriorityQueue for BoundedPriorityMessageQueue 2011-03-11 15:42:55 +01:00
Viktor Klang
89f2bf3cb9 Deprecating client-managed TypedActor 2011-03-10 18:39:47 +01:00
Viktor Klang
f0cf589ff8 Deprecating Client-managed remote actors 2011-03-10 18:31:03 +01:00
Viktor Klang
5f438a3cba Commented out the BoundedPriorityMailbox, since it wasn´t bounded, and broke out the mailbox logic into PriorityMailbox 2011-03-10 12:03:57 +01:00
Viktor Klang
6c267319ba Adding PriorityExecutorBasedEventDrivenDispatcher 2011-03-09 18:20:48 +01:00
Viktor Klang
9070175cd4 Adding unbounded and bounded MessageQueues based on PriorityBlockingQueue 2011-03-09 18:11:45 +01:00
Viktor Klang
769f266cca Changing order as to avoid DNS lookup in worst-case scenario 2011-03-09 16:45:04 +01:00
Viktor Klang
493fbbb833 Merge branch 'master' of github.com:jboner/akka 2011-03-09 13:32:23 +01:00