| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
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 '=>?'.
|
|
|
|
|
| |
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.
|