Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stackRoots (0.1 sec)

  1. src/runtime/mgc.go

    	// Number of roots of various root types. Set by gcMarkRootPrepare.
    	//
    	// nStackRoots == len(stackRoots), but we have nStackRoots for
    	// consistency.
    	nDataRoots, nBSSRoots, nSpanRoots, nStackRoots int
    
    	// Base indexes of each root type. Set by gcMarkRootPrepare.
    	baseData, baseBSS, baseSpans, baseStacks, baseEnd uint32
    
    	// stackRoots is a snapshot of all of the Gs that existed
    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/mgcmark.go

    	// the concurrent phase will be caught by the write barrier.
    	work.stackRoots = allGsSnapshot()
    	work.nStackRoots = len(work.stackRoots)
    
    	work.markrootNext = 0
    	work.markrootJobs = uint32(fixedRootCount + work.nDataRoots + work.nBSSRoots + work.nSpanRoots + work.nStackRoots)
    
    	// Calculate base indexes of each root type
    	work.baseData = uint32(fixedRootCount)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
Back to top