Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for new_g (0.03 sec)

  1. src/cmd/trace/testdata/go122.test

    HeapAlloc dt=24 heapalloc_value=26336904
    GoCreate dt=72 new_g=34 new_stack=47 stack=48
    GoCreate dt=183 new_g=35 new_stack=47 stack=48
    GoCreate dt=15 new_g=36 new_stack=47 stack=48
    GoCreate dt=12 new_g=37 new_stack=47 stack=48
    GoCreate dt=14 new_g=38 new_stack=47 stack=48
    HeapAlloc dt=25 heapalloc_value=26344200
    GoCreate dt=9 new_g=39 new_stack=47 stack=48
    GoCreate dt=13 new_g=40 new_stack=47 stack=48
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 166K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    	pp := mp.p.ptr()
    	newg := gfget(pp)
    	if newg == nil {
    		newg = malg(stackMin)
    		casgstatus(newg, _Gidle, _Gdead)
    		allgadd(newg) // publishes with a g->status of Gdead so GC scanner doesn't look at uninitialized stack.
    	}
    	if newg.stack.hi == 0 {
    		throw("newproc1: newg missing stack")
    	}
    
    	if readgstatus(newg) != _Gdead {
    		throw("newproc1: new g is not Gdead")
    	}
    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