Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for forEachJavaProcess (0.16 sec)

  1. 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)
  2. 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)
Back to top