Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for gccheckmark (0.23 sec)

  1. src/runtime/mcheckmark.go

    // GC checkmarks
    //
    // In a concurrent garbage collector, one worries about failing to mark
    // a live object due to mutations without write barriers or bugs in the
    // collector implementation. As a sanity check, the GC has a 'checkmark'
    // mode that retraverses the object graph with the world stopped, to make
    // sure that everything that should be marked is marked.
    
    package runtime
    
    import (
    	"internal/goarch"
    	"internal/runtime/atomic"
    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/mwbbuf.go

    	ptrs := pp.wbBuf.buf[:n]
    
    	// Poison the buffer to make extra sure nothing is enqueued
    	// while we're processing the buffer.
    	pp.wbBuf.next = 0
    
    	if useCheckmark {
    		// Slow path for checkmark mode.
    		for _, ptr := range ptrs {
    			shade(ptr)
    		}
    		pp.wbBuf.reset()
    		return
    	}
    
    	// Mark all of the pointers in the buffer and record only the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top