Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetMaxIdleMarkWorkers (0.76 sec)

  1. src/runtime/mgcpacer.go

    		if dedicatedMarkWorkersNeeded > 0 {
    			c.setMaxIdleMarkWorkers(0)
    		} else {
    			// TODO(mknyszek): The fundamental reason why we need this is because
    			// we can't count on the fractional mark worker to get scheduled.
    			// Fix that by ensuring it gets scheduled according to its quota even
    			// if the rest of the application is idle.
    			c.setMaxIdleMarkWorkers(1)
    		}
    	} 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)
  2. src/runtime/export_test.go

    	return c.needIdleMarkWorker()
    }
    
    func (c *GCController) RemoveIdleMarkWorker() {
    	c.removeIdleMarkWorker()
    }
    
    func (c *GCController) SetMaxIdleMarkWorkers(max int32) {
    	c.setMaxIdleMarkWorkers(max)
    }
    
    var alwaysFalse bool
    var escapeSink any
    
    func Escape[T any](x T) T {
    	if alwaysFalse {
    		escapeSink = x
    	}
    	return x
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top