Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for allgs (0.17 sec)

  1. src/runtime/mgc.go

    	}
    
    	if debug.gccheckmark > 0 {
    		// This is expensive when there's a large number of
    		// Gs, so only do it if checkmark is also enabled.
    		gcMarkRootCheck()
    	}
    
    	// Drop allg snapshot. allgs may have grown, in which case
    	// this is the only reference to the old backing store and
    	// there's no need to keep it around.
    	work.stackRoots = nil
    
    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/mprof.go

    	}
    	ourg.goroutineProfiled.Store(goroutineProfileSatisfied)
    	goroutineProfile.offset.Store(1)
    
    	// Prepare for all other goroutines to enter the profile. Aside from ourg,
    	// every goroutine struct in the allgs list has its goroutineProfiled field
    	// cleared. Any goroutine created from this point on (while
    	// goroutineProfile.active is set) will start with its goroutineProfiled
    	// field set to goroutineProfileSatisfied.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. src/runtime/pprof/pprof_test.go

    					// the work involved in collecting a goroutine profile,
    					// which is O(N) with the high-water mark of the number of
    					// goroutines in this process (in the allgs slice).
    					runtime.Gosched()
    				}
    				if i == 0 {
    					ready.Done()
    				}
    			}
    		}()
    
    		// Short-lived goroutines exercise different code paths (goroutines with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top