Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for startCheckmarks (0.37 sec)

  1. src/runtime/mcheckmark.go

    }
    
    // If useCheckmark is true, marking of an object uses the checkmark
    // bits instead of the standard mark bits.
    var useCheckmark = false
    
    // startCheckmarks prepares for the checkmarks phase.
    //
    // The world must be stopped.
    func startCheckmarks() {
    	assertWorldStopped()
    
    	// Clear all checkmarks.
    	for _, ai := range mheap_.allArenas {
    		arena := mheap_.arenas[ai.l1()][ai.l2()]
    		bitmap := arena.checkmarks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/runtime/mgc.go

    		if debug.gccheckmark > 0 {
    			// Run a full non-parallel, stop-the-world
    			// mark using checkmark bits, to check that we
    			// didn't forget to mark anything during the
    			// concurrent mark process.
    			startCheckmarks()
    			gcResetMarkState()
    			gcw := &getg().m.p.ptr().gcw
    			gcDrain(gcw, 0)
    			wbBufFlush1(getg().m.p.ptr())
    			gcw.dispose()
    			endCheckmarks()
    		}
    
    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