var runtime.maxstacksize
10 uses
runtime (current package)
proc.go#L126: maxstacksize = 1000000000
proc.go#L128: maxstacksize = 250000000
proc.go#L134: maxstackceiling = 2 * maxstacksize
rdebug.go#L11: out = int(maxstacksize)
rdebug.go#L12: maxstacksize = uintptr(in)
stack.go#L498: var maxstacksize uintptr = 1 << 20 // enough until runtime.main sets it for real
stack.go#L500: var maxstackceiling = maxstacksize
stack.go#L1062: if newsize > maxstacksize || newsize > maxstackceiling {
stack.go#L1063: if maxstacksize < maxstackceiling {
stack.go#L1064: print("runtime: goroutine stack exceeds ", maxstacksize, "-byte limit\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. |