summaryrefslogtreecommitdiff
path: root/test/benchmarking/ParCtrie-map.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/benchmarking/ParCtrie-map.scala')
-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 {