From b2844771164fff2ad6cb2c265ff0da0bd0828906 Mon Sep 17 00:00:00 2001 From: Googler Date: Thu, 30 Mar 2023 12:27:16 -0700 Subject: [PATCH] Automated rollback of commit 9353955f016b4b918c1543018379a933932586b8. PiperOrigin-RevId: 520712082 Change-Id: Ic7d12c9ea1b6b5860ea75857596c0d9023bee6a2 --- .../google/devtools/build/lib/skyframe/SkyframeExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/SkyframeExecutor.java b/src/main/java/com/google/devtools/build/lib/skyframe/SkyframeExecutor.java index f130eff5d17af1..2d59f404428e87 100644 --- a/src/main/java/com/google/devtools/build/lib/skyframe/SkyframeExecutor.java +++ b/src/main/java/com/google/devtools/build/lib/skyframe/SkyframeExecutor.java @@ -876,7 +876,6 @@ public void notifyCommandComplete(ExtendedEventHandler eventHandler) throws Inte memoizingEvaluator.noteEvaluationsAtSameVersionMayBeFinished(eventHandler); progressReceiver.globDeps = new ConcurrentHashMap<>(); globFunction.complete(); - clearSyscallCache(); } /** @@ -1350,6 +1349,7 @@ public void preparePackageLoading( starlarkSemantics.getBool(BuildLanguageOptions.EXPERIMENTAL_SIBLING_REPOSITORY_LAYOUT)); setPackageLocator(pkgLocator); + clearSyscallCache(); this.pkgFactory.setGlobbingThreads(executors.globbingParallelism()); this.pkgFactory.setMaxDirectoriesToEagerlyVisitInGlobbing( packageOptions.maxDirectoriesToEagerlyVisitInGlobbing);