We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03abdfb commit dd9bc39Copy full SHA for dd9bc39
core/src/main/scala/scala/collection/parallel/Tasks.scala
@@ -289,7 +289,7 @@ trait ForkJoinTasks extends Tasks with HavingForkJoinPool {
289
}
290
291
object ForkJoinTasks {
292
- lazy val defaultForkJoinPool: ForkJoinPool = new ForkJoinPool()
+ lazy val defaultForkJoinPool: ForkJoinPool = ForkJoinPool.commonPool()
293
294
295
/* Some boilerplate due to no deep mixin composition. Not sure if it can be done differently without them.
0 commit comments