| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Reverted over-zealous replacement of 'PartialFunction' with '=>?'.
|
|
|
|
|
| |
Some optimizations to actor message queues and event handling.
|
|
|
|
|
|
|
|
|
| |
Fixed issue in Reactor/Actor that could lead to premature termination
of actors. Added test that could reproduce it (occurred more often on
larger inputs, but test should not take too much time). The issue also
caused the reactor-exceptionOnSend test to timeout sometimes. Review by
plocinic.
|
|
|
|
|
|
|
| |
Took full advantage of the new =>? alias for the superverbosely named
PartialFunction by renaming every usage of the latter except when in
comments.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Eliminating the deprecation warnings in the actor library.
|
| |
|
|
|
|
|
| |
Use the same thread pool configuration for DaemonScheduler.
|
|
|
|
|
|
| |
Added Java property to explicitly enable/disable fork-join pool for
actors. By default it is enabled only on 1.6 and 1.7 JDKs from Sun.
|
|
|
|
|
| |
Added switch to not use fork-join pool on a 1.5 JVM.
|
|
|
|
|
| |
isDefinedAt should /not/ be in Function1
|
|
|
|
|
|
|
|
| |
code that mixes in PartialFunction now have to
define isDefinedAt as override.
Fixes #2225.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Modifications to the five accumulated ant-parasite files which are
slowly driving me mad by being recompiled on every single run. One
file renamed, one moved to the right directory, two given dummy
implementations since they're completely commented out, and the
actors package object changed to apply to scala.actors rather than
_root_.actors.
|
| |
|
| |
|
|
|
|
|
|
|
| |
compile scalac with -deprecation and not cause any machines to catch
fire. Most of the remaining warnings are glancing furtively at Tuple2,
waiting for the moment to pounce.
|
|
|
|
|
|
| |
Do not use ForkJoinPool when running on IBM J9; in this case use 1.5
ThreadPoolScheduler.
|
| |
|
|
|
|
|
|
| |
Fix for a race condition when starting an Actor while its
ForkJoinScheduler is shutting down.
|
|
|
|
|
|
|
| |
Restored type of receiver in OutputChannel and Channel to Actor.
ReplyReactor inherits from ReplyableReactor. ReplyableReactor is now
private.
|
|
|
|
|
|
| |
Reactor uses Executor-based scheduler that does not attempt to resize
thread pool.
|
|
|
|
|
|
| |
ForkJoinScheduler only adjusts pool size when an actor calls
receive/receiveWithin.
|
|
|
|
|
|
| |
Actors waiting in receive search for messages on their underlying
thread. Simplified receiveWithin.
|
|
|
|
|
| |
Fixed thread-visibility issues causing scala-nightly-args 387 to fail.
|
| |
|
|
|
|
|
| |
reverted 'doArg' change made in r18738, removed a few warnings
|
|
|
|
|
|
| |
Tightened access modifiers in Reactor and Actor, so that fewer methods
are user-visible (showing up in scaladoc).
|
|
|
|
|
|
|
|
|
|
|
| |
Introduced actors package object to deprecate a number of
classes. Made ForkJoinScheduler more configurable and let it read
ThreadPoolConfig. Clean-ups in TerminationMonitor and ActorGC. Removed
DefaultExecutorScheduler. Made DelegatingScheduler and ExecutorScheduler
private. Deprecated MessageQueue and MessageQueueElement, so that we can
later make them private. Deprecated a number of methods in IScheduler.
Tightened access modifiers in Reactor.
|
|
|
|
|
|
|
|
| |
[no content change] Fixed all SVN properties: mimes, EOL, executable. Id
expansion is consistently enabled for Scala/Java/C# sources in 'src/'
and consistently disabled and removed from everywhere else: there should
not be any dead Id tags anymore.
|
|
|
|
|
|
| |
Moved SingleThreadedScheduler from scheduler back to actors where it
used to be in 2.7.x.
|
|
|
|
|
| |
More proper fix for #2379 (single-threaded actors done right!).
|
| |
|
|
|
|
|
|
|
| |
Attempting to widen the field of possibilities for equality, a proof
by construction that a large codebase doesn't need to perform equality
checks between different primitives types if it is not so inclined.
|
| |
|
|
|
|
|
|
| |
fixed headers/comments/svn props, made some progress with serializable
classes
|
|
|
|
|
|
|
|
|
|
| |
Split TaskRunner into FutureTaskRunner and TaskRunner. FutureTaskRunner
has an abstract Future[T] type member and inherits an abstract Task[T]
type member from TaskRunner. Implicit conversions enable tasks and
futures to be treated as parameter-less functions. This allows
TaskRunners to be used by actor schedulers without creating lots of
wrapper objects.
|
|
|
|
|
| |
Created NoStackTrace trait and mixed it into ControlException.
|
|
|
|
|
|
| |
Minor refinements to recent patches, and the reversion of times. "It was
the best of times... it was the reversion of times..."
|
|
|
|
|
| |
Rewrite of the actor MessageQueue, adding a tracing facility.
|
|
|
|
|
|
| |
Fixed #1560 (which was a typing hole, so some library classes had to be
fixed)
|
| |
|