- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for forEachJavaProcess (0.07 sec)
-
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt
override fun afterTest(test: TestDescriptor, result: TestResult) = Unit override fun beforeSuite(suite: TestDescriptor) { if (suite.parent == null) { forEachJavaProcess { pid, _ -> // processes that exist before the test suite execution should // not trigger a warning daemonPids += pid }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 3.4K bytes - Viewed (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
Pattern commandLineArgsPattern = Pattern.compile(generateLeakingProcessKillPattern(rootProjectDir.getPath())); forEachJavaProcess(ps(), commandLineArgsPattern, action); } private static void forEachJavaProcess(List<String> psOutput, Pattern commandLineArgsPattern, BiConsumer<String, String> action) { Pattern pidPattern = isWindows() ? WINDOWS_PID_PATTERN : UNIX_PID_PATTERN;
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.6K bytes - Viewed (0)