Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Scavenge (0.1 sec)

  1. src/runtime/mheap.go

    		s = h.allocMSpanLocked()
    	}
    	unlock(&h.lock)
    
    HaveSpan:
    	// Decide if we need to scavenge in response to what we just allocated.
    	// Specifically, we track the maximum amount of memory to scavenge of all
    	// the alternatives below, assuming that the maximum satisfies *all*
    	// conditions we check (e.g. if we need to scavenge X to satisfy the
    	// memory limit and Y to satisfy heap-growth scavenging, and Y > X, then
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  2. src/runtime/mgc.go

    	// Reset assist time and background time stats.
    	//
    	// Do this now, instead of at the start of the next GC cycle, because
    	// these two may keep accumulating even if the GC is not active.
    	scavenge.assistTime.Store(0)
    	scavenge.backgroundTime.Store(0)
    
    	// Reset idle time stat.
    	sched.idleTime.Store(0)
    
    	if work.userForced {
    		memstats.numforcedgc++
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
Back to top