Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for scavengeAll (0.23 sec)

  1. src/runtime/mheap.go

    	s.state.set(mSpanDead)
    	h.freeMSpanLocked(s)
    }
    
    // scavengeAll acquires the heap lock (blocking any additional
    // manipulation of the page allocator) and iterates over the whole
    // heap, scavenging every free page available.
    //
    // Must run on the system stack because it acquires the heap lock.
    //
    //go:systemstack
    func (h *mheap) scavengeAll() {
    	// Disallow malloc or panic while holding the heap lock. We do
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
Back to top