- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for resetLive (0.13 sec)
-
src/runtime/mgcpacer.go
trace.GoUnpark(gp, 0) traceRelease(trace) } return gp, now } // resetLive sets up the controller state for the next mark phase after the end // of the previous one. Must be called after endCycle and before commit, before // the world is started. // // The world must be stopped. func (c *gcControllerState) resetLive(bytesMarked uint64) { c.heapMarked = bytesMarked c.heapLive.Store(bytesMarked)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 55.4K bytes - Viewed (0) -
src/runtime/export_test.go
c.revise() } func (c *GCController) EndCycle(bytesMarked uint64, assistTime, elapsed int64, gomaxprocs int) { c.assistTime.Store(assistTime) c.endCycle(elapsed, gomaxprocs, false) c.resetLive(bytesMarked) c.commit(false) } func (c *GCController) AddIdleMarkWorker() bool { return c.addIdleMarkWorker() } func (c *GCController) NeedIdleMarkWorker() bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
src/runtime/mgc.go
for _, p := range allp { c := p.mcache if c == nil { continue } c.scanAlloc = 0 } // Reset controller state. gcController.resetLive(work.bytesMarked) } // gcSweep must be called on the system stack because it acquires the heap // lock. See mheap for details. // // Returns true if the heap was fully swept by this function. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0) -
src/internal/trace/gc.go
// windowed mutator utilization function. lastTime int64 lastMU float64 } // resetTime declares a discontinuity in the windowed mutator // utilization function by resetting the current time. func (acc *accumulator) resetTime() { // This only matters for distribution collection, since that's // the only thing that depends on the progression of the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 26K bytes - Viewed (0)