- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 490 for sweep (0.05 sec)
-
src/runtime/mgcsweep.go
// definitely work for it to do at this point. scavenger.wake() nextMarkBitArenaEpoch() } func bgsweep(c chan int) { sweep.g = getg() lockInit(&sweep.lock, lockRankSweep) lock(&sweep.lock) sweep.parked = true c <- 1 goparkunlock(&sweep.lock, waitReasonGCSweepWait, traceBlockGCSweep, 1) for { // bgsweep attempts to be a "low priority" goroutine by intentionally
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:52:18 UTC 2024 - 32.9K bytes - Viewed (0) -
src/runtime/mcache.go
if size+_PageSize < size { throw("out of memory") } npages := size >> _PageShift if size&_PageMask != 0 { npages++ } // Deduct credit for this span allocation and sweep if // necessary. mHeap_Alloc will also sweep npages, so this only // pays the debt down to npage pages. deductSweepCredit(npages*_PageSize, npages) spc := makeSpanClass(0, noscan) s := mheap_.alloc(npages, spc) if s == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 10K bytes - Viewed (0) -
src/internal/trace/traceviewer/mmu.go
<span class="help">?<span>Mark assists are performed by allocation to prevent the mutator from outpacing GC.</span></span><br> <input type="checkbox" id="sweep"><label for="sweep">Sweep</label> <span class="help">?<span>Sweep reclaims unused memory between GCs. (Enabling this may be very slow.).</span></span><br> </p> <p> <b>Display</b><br>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:29:53 UTC 2023 - 13K bytes - Viewed (0) -
src/runtime/traceruntime.go
mSyscallID int64 // maySweep indicates the sweep events should be traced. // This is used to defer the sweep start event until a span // has actually been swept. maySweep bool // inSweep indicates that at least one sweep event has been traced. inSweep bool // swept and reclaimed track the number of bytes swept and reclaimed // by sweeping in the current sweep loop (while maySweep was true). swept, reclaimed uintptr }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 25.7K bytes - Viewed (0) -
src/internal/trace/event/go122/event.go
EvGCBegin // GC start [timestamp, seq, stack ID] EvGCEnd // GC done [timestamp, seq] EvGCSweepActive // GC sweep active [timestamp, P ID] EvGCSweepBegin // GC sweep start [timestamp, stack ID] EvGCSweepEnd // GC sweep done [timestamp, swept bytes, reclaimed bytes] EvGCMarkAssistActive // GC mark assist active [timestamp, goroutine ID]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 14.8K bytes - Viewed (0) -
src/runtime/proc_test.go
cack <- true return default: runtime.Gosched() } } }() time.Sleep(10 * time.Millisecond) c <- true <-cack } func TestYieldLocked(t *testing.T) { const N = 10 c := make(chan bool) go func() { runtime.LockOSThread() for i := 0; i < N; i++ { runtime.Gosched() time.Sleep(time.Millisecond) } c <- true // runtime.UnlockOSThread() is deliberately omitted }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 25.8K bytes - Viewed (0) -
src/runtime/trace.go
// hits a traceAcquire, it sees that the trace is enabled. // // Note also that stopping the world is necessary to make sure sweep-related events are // coherent. Since the world is stopped and sweeps are non-preemptible, we can never start // the world and see an unpaired sweep 'end' event. Other parts of the tracer rely on this. stw := stopTheWorld(stwStartTrace)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 37.1K bytes - Viewed (0) -
pkg/kubelet/metrics/metrics.go
OrphanPodCleanedVolumes = metrics.NewGauge( &metrics.GaugeOpts{ Subsystem: KubeletSubsystem, Name: orphanPodCleanedVolumesKey, Help: "The total number of orphaned Pods whose volumes were cleaned in the last periodic sweep.", StabilityLevel: metrics.ALPHA, }, )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 22 15:13:25 UTC 2024 - 45.6K bytes - Viewed (0) -
src/runtime/mgclimit.go
// // gcBlackenEnabled isn't used directly so as to keep this structure // unit-testable. gcEnabled bool // transitioning is true when the GC is in a STW and transitioning between // the mark and sweep phases. transitioning bool // test indicates whether this instance of the struct was made for testing purposes. test bool bucket struct { // Invariants: // - fill >= 0 // - capacity >= 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 22:07:41 UTC 2024 - 17.3K bytes - Viewed (0) -
src/runtime/lockrank.go
lockRankScavenge: "scavenge", lockRankForcegc: "forcegc", lockRankDefer: "defer", lockRankSweepWaiters: "sweepWaiters", lockRankAssistQueue: "assistQueue", lockRankSweep: "sweep", lockRankTestR: "testR", lockRankTestW: "testW", lockRankTimerSend: "timerSend", lockRankAllocmW: "allocmW", lockRankExecW: "execW", lockRankCpuprof: "cpuprof",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 19.9K bytes - Viewed (0)