Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for gcPaceScavenger (0.29 sec)

  1. src/runtime/mgcscavenge.go

    )
    
    // heapRetained returns an estimate of the current heap RSS.
    func heapRetained() uint64 {
    	return gcController.heapInUse.load() + gcController.heapFree.load()
    }
    
    // gcPaceScavenger updates the scavenger's pacing, particularly
    // its rate and RSS goal. For this, it requires the current heapGoal,
    // and the heapGoal for the previous GC cycle.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  2. src/runtime/mgcpacer.go

    	trace := traceAcquire()
    	if trace.ok() {
    		trace.HeapGoal()
    		traceRelease(trace)
    	}
    
    	trigger, heapGoal := gcController.trigger()
    	gcPaceSweeper(trigger)
    	gcPaceScavenger(gcController.memoryLimit.Load(), heapGoal, gcController.lastHeapGoal)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top