Switch the label visitation algorithm have the query environment filter the label deps instead.
Also rename some references to TTVs by the more general term Label to refer to targets in the build graph.
PiperOrigin-RevId: 280185323
diff --git a/src/main/java/com/google/devtools/build/lib/query2/ParallelSkyQueryUtils.java b/src/main/java/com/google/devtools/build/lib/query2/ParallelSkyQueryUtils.java
index de2a3d1..dbc4354 100644
--- a/src/main/java/com/google/devtools/build/lib/query2/ParallelSkyQueryUtils.java
+++ b/src/main/java/com/google/devtools/build/lib/query2/ParallelSkyQueryUtils.java
@@ -111,8 +111,8 @@
new ThreadSafeAggregateAllSkyKeysCallback(concurrencyLevel);
return env.execute(
() -> {
- UnfilteredSkyKeyTTVDTCVisitor visitor =
- new UnfilteredSkyKeyTTVDTCVisitor.Factory(
+ UnfilteredSkyKeyLabelDTCVisitor visitor =
+ new UnfilteredSkyKeyLabelDTCVisitor.Factory(
env,
env.createSkyKeyUniquifier(),
processResultsBatchSize,