Skip to content

Commit 37000c1

Browse files
committed
Don't create processes unnecessarily
The process pool is only needed for run tests.
1 parent 5d9aa42 commit 37000c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/vulpix/RunnerOrchestration.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ trait RunnerOrchestration {
4949
def runMain(classPath: String)(implicit summaryReport: SummaryReporting): Status =
5050
monitor.runMain(classPath)
5151

52-
private val monitor = new RunnerMonitor
52+
lazy private val monitor = new RunnerMonitor
5353

5454
/** The runner monitor object keeps track of child JVM processes by keeping
5555
* them in two structures - one for free, and one for busy children.

0 commit comments

Comments
 (0)