Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for nextMarkBitArenaEpoch (0.17 sec)

  1. src/runtime/pinner.go

    		return true
    	}
    	pinnerBits := span.getPinnerBits()
    	// these pinnerBits might get unlinked by a concurrently running sweep, but
    	// that's OK because gcBits don't get cleared until the following GC cycle
    	// (nextMarkBitArenaEpoch)
    	if pinnerBits == nil {
    		return false
    	}
    	objIndex := span.objIndex(uintptr(ptr))
    	pinState := pinnerBits.ofObject(objIndex)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/runtime/mgcsweep.go

    	// scavenge for a bit.
    	//
    	// If the scavenger isn't already awake, wake it up. There's
    	// definitely work for it to do at this point.
    	scavenger.wake()
    
    	nextMarkBitArenaEpoch()
    }
    
    func bgsweep(c chan int) {
    	sweep.g = getg()
    
    	lockInit(&sweep.lock, lockRankSweep)
    	lock(&sweep.lock)
    	sweep.parked = true
    	c <- 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  3. src/runtime/mheap.go

    // mark bits are repurposed as allocation bits when
    // the span is swept.
    func newAllocBits(nelems uintptr) *gcBits {
    	return newMarkBits(nelems)
    }
    
    // nextMarkBitArenaEpoch establishes a new epoch for the arenas
    // holding the mark bits. The arenas are named relative to the
    // current GC cycle which is demarcated by the call to finishweep_m.
    //
    // All current spans have been swept.
    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