runtime.g.stack (field)
114 uses
runtime (current package)
checkptr.go#L55: if gp := getg(); gp.stack.lo <= uintptr(p) && uintptr(p) < gp.stack.hi {
debugcall.go#L31: if sp := getcallersp(); !(getg().stack.lo < sp && sp <= getg().stack.hi) {
mbitmap.go#L2001: if _g_ := getg(); _g_.m.curg.stack.lo <= uintptr(p) && uintptr(p) < _g_.m.curg.stack.hi {
mgcmark.go#L289: stackfree(gp.stack)
mgcmark.go#L290: gp.stack.lo = 0
mgcmark.go#L291: gp.stack.hi = 0
mgcmark.go#L727: state.stack = gp.stack
mgcmark.go#L734: print("scanning async preempted goroutine ", gp.goid, " stack [", hex(gp.stack.lo), ",", hex(gp.stack.hi), ")\n")
mgcmark.go#L850: println(" dead stkobj at", hex(gp.stack.lo+uintptr(obj.off)), "of type", obj.typ.string())
os_darwin.go#L192: stk := unsafe.Pointer(mp.g0.stack.hi)
os_darwin.go#L212: mp.g0.stack.hi = stacksize // for mstart
os_darwin.go#L260: g0.stack.hi = stacksize // for mstart
os_darwin.go#L302: mlock(unsafe.Pointer(mp.gsignal.stack.hi-physPageSize), physPageSize)
panic.go#L1143: if sp != 0 && (sp < gp.stack.lo || gp.stack.hi < sp) {
panic.go#L1144: print("recover: ", hex(sp), " not in [", hex(gp.stack.lo), ", ", hex(gp.stack.hi), "]\n")
preempt.go#L176: gp.stackguard0 = gp.stack.lo + _StackGuard
preempt.go#L379: if sp < gp.stack.lo || sp-gp.stack.lo < asyncPreemptStack {
proc.go#L746: mp.gsignal.stackguard1 = mp.gsignal.stack.lo + _StackGuard
proc.go#L1249: osStack := _g_.stack.lo == 0
proc.go#L1259: size := _g_.stack.hi
proc.go#L1263: _g_.stack.hi = uintptr(noescape(unsafe.Pointer(&size)))
proc.go#L1264: _g_.stack.lo = _g_.stack.hi - size + 1024
proc.go#L1268: _g_.stackguard0 = _g_.stack.lo + _StackGuard
proc.go#L1388: stackfree(m.gsignal.stack)
proc.go#L1744: stackfree(freem.g0.stack)
proc.go#L1858: _g_.stack.hi = getcallersp() + 1024
proc.go#L1859: _g_.stack.lo = getcallersp() - 32*1024
proc.go#L1860: _g_.stackguard0 = _g_.stack.lo + _StackGuard
proc.go#L1902: gp.sched.sp = gp.stack.hi
proc.go#L2529: gp.stackguard0 = gp.stack.lo + _StackGuard
proc.go#L3517: if _g_.syscallsp < _g_.stack.lo || _g_.stack.hi < _g_.syscallsp {
proc.go#L3519: print("entersyscall inconsistent ", hex(_g_.syscallsp), " [", hex(_g_.stack.lo), ",", hex(_g_.stack.hi), "]\n")
proc.go#L3613: if _g_.syscallsp < _g_.stack.lo || _g_.stack.hi < _g_.syscallsp {
proc.go#L3618: print("entersyscallblock inconsistent ", hex(sp1), " ", hex(sp2), " ", hex(sp3), " [", hex(_g_.stack.lo), ",", hex(_g_.stack.hi), "]\n")
proc.go#L3623: if _g_.syscallsp < _g_.stack.lo || _g_.stack.hi < _g_.syscallsp {
proc.go#L3625: print("entersyscallblock inconsistent ", hex(sp), " ", hex(_g_.sched.sp), " ", hex(_g_.syscallsp), " [", hex(_g_.stack.lo), ",", hex(_g_.stack.hi), "]\n")
proc.go#L3689: _g_.stackguard0 = _g_.stack.lo + _StackGuard
proc.go#L3871: gp.stackguard0 = gp.stack.lo + _StackGuard
proc.go#L3948: newg.stack = stackalloc(uint32(stacksize))
proc.go#L3950: newg.stackguard0 = newg.stack.lo + _StackGuard
proc.go#L3954: *(*uintptr)(unsafe.Pointer(newg.stack.lo)) = 0
proc.go#L4025: if newg.stack.hi == 0 {
proc.go#L4035: sp := newg.stack.hi - totalSize
proc.go#L4141: stksize := gp.stack.hi - gp.stack.lo
proc.go#L4145: stackfree(gp.stack)
proc.go#L4146: gp.stack.lo = 0
proc.go#L4147: gp.stack.hi = 0
proc.go#L4158: if gp.stack.lo == 0 {
proc.go#L4197: if gp.stack.lo == 0 {
proc.go#L4200: gp.stack = stackalloc(_FixedStack)
proc.go#L4202: gp.stackguard0 = gp.stack.lo + _StackGuard
proc.go#L4205: racemalloc(unsafe.Pointer(gp.stack.lo), gp.stack.hi-gp.stack.lo)
proc.go#L4208: msanmalloc(unsafe.Pointer(gp.stack.lo), gp.stack.hi-gp.stack.lo)
proc.go#L4220: if gp.stack.lo == 0 {
proc.go#L4473: if gp == nil || sp < gp.stack.lo || gp.stack.hi < sp || setsSP(pc) || (mp != nil && mp.vdsoSP != 0) {
runtime2.go#L412: stack stack // offset known to runtime/cgo
signal_unix.go#L474: if sp >= mp.gsignal.stack.lo && sp < mp.gsignal.stack.hi {
signal_unix.go#L486: if sp >= mp.g0.stack.lo && sp < mp.g0.stack.hi {
signal_unix.go#L497: st := stackt{ss_size: mp.g0.stack.hi - mp.g0.stack.lo}
signal_unix.go#L498: setSignalstackSP(&st, mp.g0.stack.lo)
signal_unix.go#L1106: signalstack(&_g_.m.gsignal.stack)
signal_unix.go#L1188: old.stack = g.m.gsignal.stack
signal_unix.go#L1194: g.m.gsignal.stack.lo = stsp
signal_unix.go#L1195: g.m.gsignal.stack.hi = stsp + st.ss_size
signal_unix.go#L1206: gp.stack = st.stack
stack.go#L842: old := gp.stack
stack.go#L902: gp.stack = new
stack.go#L965: " sp=", hex(gp.sched.sp), " stack=[", hex(gp.stack.lo), ", ", hex(gp.stack.hi), "]\n",
stack.go#L1001: gp.stackguard0 = gp.stack.lo + _StackGuard
stack.go#L1006: if gp.stack.lo == 0 {
stack.go#L1014: if stackDebug >= 1 || sp < gp.stack.lo {
stack.go#L1015: print("runtime: newstack sp=", hex(sp), " stack=[", hex(gp.stack.lo), ", ", hex(gp.stack.hi), "]\n",
stack.go#L1019: if sp < gp.stack.lo {
stack.go#L1021: print("runtime: split stack overflow: ", hex(sp), " < ", hex(gp.stack.lo), "\n")
stack.go#L1049: oldsize := gp.stack.hi - gp.stack.lo
stack.go#L1068: print("runtime: sp=", hex(sp), " stack=[", hex(gp.stack.lo), ", ", hex(gp.stack.hi), "]\n")
stack.go#L1127: if gp.stack.lo == 0 {
stack.go#L1159: oldsize := gp.stack.hi - gp.stack.lo
stack.go#L1171: avail := gp.stack.hi - gp.stack.lo
stack.go#L1172: if used := gp.stack.hi - gp.sched.sp + _StackLimit; used >= avail/4 {
string.go#L122: stk := getg().stack
traceback.go#L156: tracebackHexdump(gp.stack, &frame, 0)
traceback.go#L258: tracebackHexdump(gp.stack, &frame, lrPtr)
traceback.go#L554: print("\tstack=[", hex(gp.stack.lo), "-", hex(gp.stack.hi), "] n=", n, " max=", max, "\n")
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |