| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Updated LinkedBlockingQueue to latest jsr166
version. Verified bug fix using test case in
[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6806875 JDK bug
report 6806875]. Closes #3629.
|
|
|
|
|
|
| |
Added doc comment to Actor trait explaining the use of thread-blocking
methods.
|
|
|
|
|
| |
Addresses see #3470 by adding a method Reactor.restart. Review by rompf.
|
| |
|
|
|
|
|
| |
Removed more than 3400 svn '$Id' keywords and related junk.
|
| |
|
|
|
|
|
|
|
| |
Deprecated two members of RemoteActor which clearly should not be in the
public API. Removed unnecessary casts. Some more complete doc comments.
No review.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Fixed scaladoc output for several types and members. No review.
|
| |
|
|
|
|
|
|
| |
Reverted change of Reactor.exceptionHandler's type of see r21650. Review
by plocinic.
|
|
|
|
|
|
|
| |
Reactor.exceptionHandler is defined on Throwable instead of Exception.
Fixes potential problem with visibility of changes to a field. Review by
plocinic.
|
|
|
|
|
|
|
|
|
|
| |
Specialization removed a 'private' modifier on Actor.resumeActor. Mixin
did not mix this method in actor implementations, believing it was
private. At runtime, an AbstractMethodError was thrown, but swallowed by
forkjoin (probably), resulting in an apparent deadlock. It would have
been much faster to find and fix if the stacktrace was printed, as it is
in Java 1.5. No review.
|
| |
|
| |
|
|
|
|
|
|
| |
Improved handling of uncaught exceptions in actors. See #711. Review by
community.
|
|
|
|
|
| |
Improved deprecation warnings in actors package object. No review.
|
|
|
|
|
|
|
| |
actors.UncaughtException stores most recent sender. Default output for
unhandled exceptions can be disabled using actors.Debug. Review by
plocinic.
|
|
|
|
|
|
| |
Made use of random number generator in ForkJoinScheduler's fair mode
thread safe. Review by plocinic.
|
|
|
|
|
|
| |
Scaladoc clean-ups for various actor and channel types. Actor now
extends InputChannel. Channel now extends CanReply. Review by plocinic.
|
| |
|
| |
|
|
|
|
|
| |
Renamed Replyable* source files to the types they define. No review.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Leveraged -Xmigration to burn off some warts which arose in the new
collections. Warnings put in place for behavioral changes, allowing the
following. 1) Buffers: create new collections on
++ and -- like all the other collections. 2) Maps: eliminated
never-shipped redundant method valuesIterable and supplied these
return types:
def keys: Iterable[A]
def keysIterator: Iterator[A]
def values: Iterable[B]
def valuesIterator: Iterator[B]
def keySet: Set[A]
I concluded that keys should return Iterable because keySet also exists
on Map, and is not solely in the province of Maps even if we wanted to
change it: it's defined on Sorted and also appears in some Sets. So it
seems sensible to have keySet return a Set and keys return the more
general type.
Closes #3089, #3145. Review by odersky.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Removed obsolete SimpleExecutorScheduler, ThreadPoolScheduler,
DefaultThreadPoolScheduler, and SchedulerService. Made ThreadPoolConfig
private. No review necessary.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
A few yards short of the goal posts attempt at making our usage of
Throwable subclasses more consistent. This patch eliminates a lot of
ad hoc Exception/Error/etc. creation and various arbitrary choices are
rendered slightly less arbitrary. From now on let's try not to use the
word "Exception" or "Error" in the names of Throwable subclasses unless
they actually derive (and make sense to derive) from Exception or Error.
Review by community.
|
|
|
|
|
|
|
| |
Undid my awful code which had broken the thread scheduler selection.
Further unbroke it beyond that unbreaking hopefully to the point where
java 1.6 on OSX is recognized as such. Review by haller.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Control-flow combinators do not require thread-local variable in
Reactor. Review by plocinic.
|
|
|
|
|
|
|
|
|
| |
Some much needed housecleaning regarding system properties. If you can
possibly resist the temptation, it'd be great if people could try to
go through the properties classes to get and set them, and also to set
property values somewhere fixed rather than using strings directly.
Review by community.
|
|
|
|
|
|
|
| |
- Added fair mode to ForkJoinScheduler, which submits tasks to global
- queue with a 2% chance Reactor uses ForkJoinScheduler by default Moved
- ActorGC to scheduler package Various clean-ups
|
| |
|
|
|
|
|
| |
Re-added deprecated member to scala.actors.Future. No review necessary.
|
| |
|
|
|
|
|
|
| |
Fixed a number of faulty Scaladoc comments in library and compiler
sources. No review.
|
|
|
|
|
| |
Reverted over-zealous replacement of 'PartialFunction' with '=>?'.
|