- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 462 for garbage$ (0.12 sec)
-
src/runtime/debug/garbage.go
package debug import ( "runtime" "slices" "time" ) // GCStats collect information about recent garbage collections. type GCStats struct { LastGC time.Time // time of last collection NumGC int64 // number of garbage collections PauseTotal time.Duration // total pause for all collections Pause []time.Duration // pause history, most recent first
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.9K bytes - Viewed (0) -
pkg/controller/garbagecollector/config/types.go
type GarbageCollectorControllerConfiguration struct { // enables the generic garbage collector. MUST be synced with the // corresponding flag of the kube-apiserver. WARNING: the generic garbage // collector is an alpha feature. EnableGarbageCollector bool // concurrentGCSyncs is the number of garbage collector workers that are // allowed to sync concurrently. ConcurrentGCSyncs int32
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 04:54:33 UTC 2019 - 1.4K bytes - Viewed (0) -
pkg/kubelet/images/image_gc_manager.go
} // ImageGCPolicy is a policy for garbage collecting images. Policy defines an allowed band in // which garbage collection will be run. type ImageGCPolicy struct { // Any usage above this threshold will always trigger garbage collection. // This is the highest usage we will allow. HighThresholdPercent int // Any usage below this threshold will never trigger garbage collection.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/kubelet/container/container_gc.go
limitations under the License. */ package container import ( "context" "fmt" "time" "k8s.io/klog/v2" ) // GCPolicy specifies a policy for garbage collecting containers. type GCPolicy struct { // Minimum age at which a container can be garbage collected, zero for no limit. MinAge time.Duration // Max number of dead containers any single pod (UID, container name) pair is
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitorTest.groovy
def "does not schedule garbage collection check when GC strategy is unknown" () { when: new DefaultGarbageCollectionMonitor(GarbageCollectorMonitoringStrategy.UNKNOWN, scheduledExecutorService) then: 0 * scheduledExecutorService.scheduleAtFixedRate(_, _, _, _) } def "heap stats defaults to empty given unknown garbage collector"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 1.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
import java.util.concurrent.Future; import java.util.concurrent.TimeoutException; /** * Testing utilities relating to garbage collection finalization. * * <p>Use this class to test code triggered by finalization, that is, one of the following * actions taken by the java garbage collection system: * * <ul> * <li>invoking the {@code finalize} methods of unreachable objects
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.6K bytes - Viewed (0) -
test/init1.go
} s := string(b) memstats := new(runtime.MemStats) runtime.ReadMemStats(memstats) sys, numGC := memstats.Sys, memstats.NumGC // Generate 1,000 MB of garbage, only retaining 1 MB total. for i := 0; i < N; i++ { x = []byte(s) } // Verify that the garbage collector ran by seeing if we // allocated fewer than N*MB bytes from the system. runtime.ReadMemStats(memstats) sys1, numGC1 := memstats.Sys, memstats.NumGC
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1.1K bytes - Viewed (0) -
src/time/tick.go
// [Ticker] would never be recovered by the garbage collector, and that // if efficiency was a concern, code should use NewTicker instead and // call [Ticker.Stop] when the ticker is no longer needed. // As of Go 1.23, the garbage collector can recover unreferenced // tickers, even if they haven't been stopped. // The Stop method is no longer necessary to help the garbage collector.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:30 UTC 2024 - 3.6K bytes - Viewed (0) -
cmd/kube-controller-manager/app/options/garbagecollectorcontroller.go
if o == nil { return } fs.Int32Var(&o.ConcurrentGCSyncs, "concurrent-gc-syncs", o.ConcurrentGCSyncs, "The number of garbage collector workers that are allowed to sync concurrently.") fs.BoolVar(&o.EnableGarbageCollector, "enable-garbage-collector", o.EnableGarbageCollector, "Enables the generic garbage collector. MUST be synced with the corresponding flag of the kube-apiserver.") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 04:54:33 UTC 2019 - 2K bytes - Viewed (0) -
src/runtime/chanbarrier_test.go
inner = 1000 } for i := 0; i < outer; i++ { wg.Add(1) go func() { defer wg.Done() var garbage []byte for j := 0; j < inner; j++ { _, err := doRequest(useSelect) _, ok := err.(myError) if !ok { panic(1) } garbage = makeByte() } _ = garbage }() } wg.Wait() } //go:noinline func makeByte() []byte { return make([]byte, 1<<10)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 17:50:18 UTC 2024 - 1.4K bytes - Viewed (0)