Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for gcMarkWorkerMode (0.25 sec)

  1. src/runtime/mgc.go

    }
    
    // gcMarkWorkerMode represents the mode that a concurrent mark worker
    // should operate in.
    //
    // Concurrent marking happens through four different mechanisms. One
    // is mutator assists, which happen in response to allocations and are
    // not scheduled. The other three are variations in the per-P mark
    // workers and are distinguished by gcMarkWorkerMode.
    type gcMarkWorkerMode int
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  2. src/runtime/mgcpacer.go

    				return true
    			}
    		}
    	}
    
    	if decIfPositive(&c.dedicatedMarkWorkersNeeded) {
    		// This P is now dedicated to marking until the end of
    		// the concurrent mark phase.
    		pp.gcMarkWorkerMode = gcMarkWorkerDedicatedMode
    	} else if c.fractionalUtilizationGoal == 0 {
    		// No need for fractional workers.
    		gcBgMarkWorkerPool.push(&node.node)
    		return nil, now
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top