aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/buildtool
diff options
context:
space:
mode:
authorGravatar ulfjack <ulfjack@google.com>2018-07-26 09:40:58 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-07-26 09:42:29 -0700
commite24a591d4288b33dfbf790e89e0def610fe6a7d9 (patch)
tree7499dcd1e9ef99257966d7fc9c6e768eb1622b54 /src/main/java/com/google/devtools/build/lib/buildtool
parent09efb3fb5cbefe48d7c6685b01cfd72f848563c8 (diff)
Target pattern eval: use the same number of threads as loading
Instead of using the default thread pool size of 200, use the number set for the loading phase. This is in preparation for interleaving the loading and target pattern eval phases. PiperOrigin-RevId: 206172915
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/buildtool')
-rw-r--r--src/main/java/com/google/devtools/build/lib/buildtool/AnalysisPhaseRunner.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/buildtool/AnalysisPhaseRunner.java b/src/main/java/com/google/devtools/build/lib/buildtool/AnalysisPhaseRunner.java
index 0cc40fe8a5..be441c15cc 100644
--- a/src/main/java/com/google/devtools/build/lib/buildtool/AnalysisPhaseRunner.java
+++ b/src/main/java/com/google/devtools/build/lib/buildtool/AnalysisPhaseRunner.java
@@ -197,6 +197,7 @@ public final class AnalysisPhaseRunner {
request.getTargets(),
env.getRelativeWorkingDirectory(),
request.getLoadingOptions(),
+ request.getLoadingPhaseThreadCount(),
keepGoing,
request.shouldRunTests());
if (validator != null) {