Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for startGCTransition (0.11 sec)

  1. src/runtime/mgclimit.go

    	return l.enabled.Load()
    }
    
    // startGCTransition notifies the limiter of a GC transition.
    //
    // This call takes ownership of the limiter and disables all other means of
    // updating the limiter. Release ownership by calling finishGCTransition.
    //
    // It is safe to call concurrently with other operations.
    func (l *gcCPULimiterState) startGCTransition(enableGC bool, now int64) {
    	if !l.tryLock() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. src/runtime/export_test.go

    	return l.limiter.limiting()
    }
    
    func (l *GCCPULimiter) NeedUpdate(now int64) bool {
    	return l.limiter.needUpdate(now)
    }
    
    func (l *GCCPULimiter) StartGCTransition(enableGC bool, now int64) {
    	l.limiter.startGCTransition(enableGC, now)
    }
    
    func (l *GCCPULimiter) FinishGCTransition(now int64) {
    	l.limiter.finishGCTransition(now)
    }
    
    func (l *GCCPULimiter) Update(now int64) {
    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