Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for uncacheSpan (0.1 sec)

  1. src/runtime/mcache.go

    	}
    	if s != &emptymspan {
    		// Mark this span as no longer cached.
    		if s.sweepgen != mheap_.sweepgen+3 {
    			throw("bad sweepgen in refill")
    		}
    		mheap_.central[spc].mcentral.uncacheSpan(s)
    
    		// Count up how many slots were used and record it.
    		stats := memstats.heapStats.acquire()
    		slotsUsed := int64(s.allocCount) - int64(s.allocCountBeforeCache)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top