Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sudogbuf (0.23 sec)

  1. src/runtime/runtime2.go

    	// only the owner P can CAS it to a valid G.
    	runnext guintptr
    
    	// Available G's (status == Gdead)
    	gFree struct {
    		gList
    		n int32
    	}
    
    	sudogcache []*sudog
    	sudogbuf   [128]*sudog
    
    	// Cache of mspan objects from the heap.
    	mspancache struct {
    		// We need an explicit length here because this field is used
    		// in allocation codepaths where write barriers are not allowed,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    	getg().m.p.ptr().timers.take(&pp.timers)
    
    	// Flush p's write barrier buffer.
    	if gcphase != _GCoff {
    		wbBufFlush1(pp)
    		pp.gcw.dispose()
    	}
    	for i := range pp.sudogbuf {
    		pp.sudogbuf[i] = nil
    	}
    	pp.sudogcache = pp.sudogbuf[:0]
    	pp.pinnerCache = nil
    	for j := range pp.deferpoolbuf {
    		pp.deferpoolbuf[j] = nil
    	}
    	pp.deferpool = pp.deferpoolbuf[:0]
    	systemstack(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top