Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for GoID (0.1 sec)

  1. src/runtime/heapdump.go

    		lr = 0
    	} else {
    		sp = gp.sched.sp
    		pc = gp.sched.pc
    		lr = gp.sched.lr
    	}
    
    	dumpint(tagGoroutine)
    	dumpint(uint64(uintptr(unsafe.Pointer(gp))))
    	dumpint(uint64(sp))
    	dumpint(gp.goid)
    	dumpint(uint64(gp.gopc))
    	dumpint(uint64(readgstatus(gp)))
    	dumpbool(isSystemGoroutine(gp, false))
    	dumpbool(false) // isbackground
    	dumpint(uint64(gp.waitsince))
    	dumpstr(gp.waitreason.String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/runtime/stack.go

    			"\tsched={pc:", hex(gp.sched.pc), " sp:", hex(gp.sched.sp), " lr:", hex(gp.sched.lr), " ctxt:", gp.sched.ctxt, "}\n")
    	}
    	if sp < gp.stack.lo {
    		print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->status=", hex(readgstatus(gp)), "\n ")
    		print("runtime: split stack overflow: ", hex(sp), " < ", hex(gp.stack.lo), "\n")
    		throw("runtime: split stack overflow")
    	}
    
    	if preempt {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  3. src/runtime/export_test.go

    	return
    }
    
    func GetNextArenaHint() uintptr {
    	return mheap_.arenaHints.addr
    }
    
    type G = g
    
    type Sudog = sudog
    
    func Getg() *G {
    	return getg()
    }
    
    func Goid() uint64 {
    	return getg().goid
    }
    
    func GIsWaitingOnMutex(gp *G) bool {
    	return readgstatus(gp) == _Gwaiting && gp.waitreason.isMutexWait()
    }
    
    var CasGStatusAlwaysTrack = &casgstatusAlwaysTrack
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  4. src/runtime/arena.go

    	// Again, because this chunk counts toward heapLive, potentially trigger a GC.
    	if t := (gcTrigger{kind: gcTriggerHeap}); t.test() {
    		gcStart(t)
    	}
    
    	if debug.malloc {
    		if inittrace.active && inittrace.id == getg().goid {
    			// Init functions are executed sequentially in a single goroutine.
    			inittrace.bytes += uint64(userArenaChunkBytes)
    		}
    	}
    
    	// Double-check it's aligned to the physical page size. Based on the current
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
Back to top