- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for PIDs (0.02 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy
return result == "" ? [] : result.split("\\n") } // Only supported on *nix platforms String[] getProcessInfo(String[] pids) { if (pids == null || pids.size() == 0) { throw new RuntimeException("Unable to get process info because provided pids are null or empty!") } if (!(OperatingSystem.current().unix)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.6K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt
} private fun cleanUpDaemons() { val alreadyKilled = mutableSetOf<String>() forEachJavaProcess { pid, _ -> suspiciousDaemons.forEach { (suite, pids) -> if (pid in pids && pid !in alreadyKilled) { logger.warn("A process was created in $suite but wasn't shutdown properly. Killing PID $pid") KillLeakingJavaProcesses.pkill(pid)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/DaemonStopEventsTest.groovy
expect: DaemonStopEvents.uniqueRecentDaemonStopEvents([immediateStop1, immediateStop1]) == [immediateStop1] } def "uniqueRecentDaemonStopEvents() returns most severe event given same PIDs"() { expect: DaemonStopEvents.uniqueRecentDaemonStopEvents([gracefulStop1, immediateStop1]) == [immediateStop1] } def "uniqueRecentDaemonStopEvents() omits stop events older than 1 hour"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvents.java
Long pid = event.getPid(); if (event.occurredInLastHours(RECENTLY) && !uniqueStoppedPids.contains(pid)) { // We can only determine if two DaemonStopEvent point at the same daemon if we know the PIDs if (pid != null) { uniqueStoppedPids.add(pid); } recentStopEvents.add(event); } } return recentStopEvents; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.8K bytes - Viewed (0)