summaryrefslogtreecommitdiff
path: root/test/benchmarking
diff options
context:
space:
mode:
authorAleksandar Prokopec <axel22@gmail.com>2012-03-06 10:50:44 +0100
committerAleksandar Prokopec <axel22@gmail.com>2012-03-06 10:50:44 +0100
commit1691579e41ec4d28cbea95e4bd84a07e8cc89eb4 (patch)
treee0a3b929dd7d5782fe55f8166026b3e18e1628b2 /test/benchmarking
parentf3e545489eec465226c1b4769194d52acb8b1caa (diff)
downloadscala-1691579e41ec4d28cbea95e4bd84a07e8cc89eb4.tar.gz
scala-1691579e41ec4d28cbea95e4bd84a07e8cc89eb4.tar.bz2
scala-1691579e41ec4d28cbea95e4bd84a07e8cc89eb4.zip
Fix one benchmark.
Diffstat (limited to 'test/benchmarking')
-rw-r--r--test/benchmarking/ParCtrie-map.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/benchmarking/ParCtrie-map.scala b/test/benchmarking/ParCtrie-map.scala
index c8de99f33e..f1d2f560b7 100644
--- a/test/benchmarking/ParCtrie-map.scala
+++ b/test/benchmarking/ParCtrie-map.scala
@@ -10,7 +10,7 @@ object Map extends testing.Benchmark {
val par = sys.props("par").toInt
val parctrie = ParCtrie((0 until length) zip (0 until length): _*)
- collection.parallel.ForkJoinTasks.defaultForkJoinPool.setParallelism(par)
+ parctrie.tasksupport = new collection.parallel.ForkJoinTaskSupport(new scala.concurrent.forkjoin.ForkJoinPool(par))
def run = {
parctrie map {