Commit graph

7932 commits

Author SHA1 Message Date
Patrik Nordwall
a229140fac Fixed race in trading perf test. Fixes #1383 2011-11-28 14:44:19 +01:00
patriknw
bff464479b Merge pull request #124 from jboner/wip-1373-log-config-patriknw
Added logConfig to ActorSystem and logConfigOnStart property. See #1373
2011-11-28 01:36:41 -08:00
Patrik Nordwall
3846b63dcf Minor review fixes 2011-11-28 10:34:15 +01:00
Patrik Nordwall
0f410b1252 Merge branch 'master' into wip-1373-log-config-patriknw 2011-11-28 10:22:04 +01:00
Peter Vlugter
534db2df50 Add sbt settings to exclude or include tests using scalatest tags. Fixes #1389 2011-11-28 13:02:31 +13:00
Henrik Engstrom
fda8bce371 Updated DefaultScheduler and its Spec after comments, see #1393 2011-11-26 15:24:13 +01:00
Henrik Engstrom
8bd4dadb96 Added check in DefaultScheduler to detect if receiving actor of a reschedule has been terminated. Fixes #1393 2011-11-25 17:56:14 +01:00
Patrik Nordwall
de2de7e9c2 Added logConfig to ActorSystem and logConfigOnStart property. See #1373
* toString of Config isn't good right now, but that will be fixed in Config lib
2011-11-25 16:19:54 +01:00
Jonas Bonér
bd2fdaa647 Merge branch 'master' of github.com:jboner/akka 2011-11-25 15:42:51 +01:00
Jonas Bonér
d2ef8b99bc Fixed problems with remote configuration.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-25 15:42:25 +01:00
Patrik Nordwall
380cd1c128 Added some variations of the TellThroughputPerformanceSpec 2011-11-25 14:35:20 +01:00
Jonas Bonér
8237271310 Merge branch 'master' of github.com:jboner/akka
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-25 12:10:41 +01:00
Jonas Bonér
993947335b Added configuration for seed nodes in RemoteExtension and Gossiper. Also cleaned up reference config from old cluster stuff.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-25 12:02:25 +01:00
viktorklang
e33b9569f2 Merge pull request #123 from jboner/wip-extensions
Reinterpretation of Extensions
2011-11-25 02:26:00 -08:00
Jonas Bonér
3640c09464 Removed obsolete sample modules and cleaned up build file.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-25 11:01:03 +01:00
Viktor Klang
603a8ed034 Creating ExtensionId, AbstractExtensionId, ExtensionIdProvider and Extension 2011-11-25 10:45:22 +01:00
Jonas Bonér
0a1740cd6d Merge branch 'master' of github.com:jboner/akka
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-24 21:05:41 +01:00
Viktor Klang
bf20f3fa44 Reinterpretation of Extensions 2011-11-24 18:53:18 +01:00
Jonas Bonér
ef6c8370cd Added BroadcastRouter which broadcasts all messages to all the connections it manages, also added tests.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-24 16:35:37 +01:00
viktorklang
c0d3c523e2 Merge pull request #122 from jboner/hwt-nano-henrikengstrom
Using nanoTime instead of currentTimeMillis in HWT
2011-11-24 06:08:14 -08:00
patriknw
f7bba9efc5 Merge pull request #121 from jboner/wip-1361-modularize-config-reference-patriknw
Modularize configuration. See #1361

* Split config reference to one for each module/extension.
* Adjusted signature of registerExtension to avoid race of extension init
* Moved Duration.dilated to testkit
* TestKitExtension
* RemoteExtension
* SerializationExtension
* Durable mailboxes extensions
* Fixed broken serialization bindings and added test
* Updated configuration documentation
* System properties akka.remote.hostname akka.remote.port replaced with akka.remote.server.hostname and akka.remote.server.port
* Adjustments of ActorSystem initialization. Still don't like the two-phase constructor/init flow. Very fragile for changes.
2011-11-24 05:59:03 -08:00
Patrik Nordwall
c53d5e16e5 Merge branch 'master' into wip-1361-modularize-config-reference-patriknw
Conflicts:
	akka-actor/src/main/resources/akka-actor-reference.conf
	akka-actor/src/main/scala/akka/actor/ActorRefProvider.scala
	akka-actor/src/main/scala/akka/actor/ActorSystem.scala
	akka-remote/src/main/scala/akka/remote/Gossiper.scala
	akka-remote/src/main/scala/akka/remote/netty/NettyRemoteSupport.scala
2011-11-24 14:56:19 +01:00
Henrik Engstrom
8b6afa9937 Removed unnecessary method and utilize System.nanoTime directly instead. See #1381 2011-11-24 14:36:13 +01:00
Patrik Nordwall
c9187e21f6 Minor fixes from review 2011-11-24 14:34:42 +01:00
Henrik Engstrom
310b2736c0 Changed the HWT implementation to use System.nanoTime internally instead of System.currentTimeMillis. Fixes #1381 2011-11-24 14:30:03 +01:00
Viktor Klang
3ab264238b Merge branch 'master' of github.com:jboner/akka 2011-11-24 10:38:42 +01:00
Viktor Klang
4a64428e48 Moving the untrustedMode setting into the marshalling ops 2011-11-24 10:38:36 +01:00
Henrik Engstrom
35d4d0456d Decreased the time to wait in SchedulerSpec to make tests run a wee bit faster, see #1291 2011-11-24 09:54:08 +01:00
Henrik Engstrom
463c6921d6 Fixed failing test, see #1291 2011-11-24 09:23:28 +01:00
Henrik Engstrom
a247b347c8 Merge pull request #120 from jboner/hwt-tests-henrikengstrom
Added test of HWT and parameterized HWT constructor arguments (used in A...
2011-11-23 23:36:57 -08:00
Henrik Engstrom
4a2a5123bf Merge branch 'master' into hwt-tests-henrikengstrom
Conflicts:
	akka-actor/src/main/scala/akka/actor/ActorCell.scala
2011-11-24 08:36:01 +01:00
Patrik Nordwall
3fd629e92d PORT_FIELD_NUMBER back to origin 2011-11-24 08:23:27 +01:00
Patrik Nordwall
179399296e Modularize configuration. See #1361
* Split config reference to one for each module/extension.
* Adjusted signature of registerExtension to avoid race of extension init
* Moved Duration.dilated to testkit
* TestKitExtension
* RemoteExtension
* SerializationExtension
* Durable mailboxes extensions
* Fixed broken serialization bindings and added test
* Updated configuration documentation
* System properties akka.remote.hostname akka.remote.port replaced with akka.remote.server.hostname and akka.remote.server.port
* Adjustments of ActorSystem initialization. Still don't like the two-phase constructor/init flow. Very fragile for changes.

Review fixes. SerializationExtension
2011-11-23 20:31:58 +01:00
Viktor Klang
abcaf01525 Removing legacy comment 2011-11-23 19:19:08 +01:00
Viktor Klang
c56341b3a6 Fixing FIXME to rename isShutdown to isTerminated 2011-11-23 19:03:56 +01:00
Henrik Engstrom
ddb7b578e2 Fixed some typos, see #1291 2011-11-23 16:52:05 +01:00
Henrik Engstrom
e2ad1088b0 Updated the scheduler implementation after feedback; changed Duration(x, timeunit) to more fluent 'x timeunit' and added ScalaDoc 2011-11-23 15:16:46 +01:00
Viktor Klang
7d9a124b64 Removing @inline from Actor.sender since it cannot safely be inlined anyway. Also, changing the ordering of the checks for receiveTimeout_= so it passed -optimize compilation without whining 2011-11-23 12:28:20 +01:00
Henrik Engstrom
7ca5a4161b Introduced Duration instead of explicit value + time unit in HWT, Scheduler and users of the schedule functionality. See #1291 2011-11-23 11:07:16 +01:00
Viktor Klang
36e85e9f23 #1372 - Making sure that ActorCell is 64bytes so it fits exactly into one cache line 2011-11-23 02:00:29 +01:00
Viktor Klang
3be5c05b76 Removing a wasteful field in ActorCell, preparing to get to 64bytes (cache line glove-fit 2011-11-23 01:18:29 +01:00
Viktor Klang
4e6361acb7 Removing commented out code 2011-11-22 22:28:37 +01:00
Viktor Klang
229399db72 Removing obsolete imports from ReflectiveAccess 2011-11-22 16:30:01 +01:00
Henrik Engstrom
ac03696d88 Added test of HWT and parameterized HWT constructor arguments (used in ActorSystem), see #1291 2011-11-22 15:26:21 +01:00
Viktor Klang
6d2b090598 Removing ActorContext.hasMessages 2011-11-22 14:09:02 +01:00
Viktor Klang
8516dbbc02 Adding a FIXME so we make sure to get ActorCell down to 64bytes 2011-11-22 12:11:37 +01:00
Viktor Klang
5af3c72c73 Merge branch 'master' of github.com:jboner/akka 2011-11-22 10:41:49 +01:00
Viktor Klang
ce6dd05ab9 Removing 1 AtomicLong from all ActorCells 2011-11-22 10:41:04 +01:00
Patrik Nordwall
153d69d682 Removed unecessary code in slf4j logger, since logSource is already resolved to String 2011-11-21 17:53:31 +01:00
Viktor Klang
4fdf698611 Switching to sun.misc.Unsafe as an experiment, easily revertable 2011-11-21 17:49:21 +01:00