runtime.mheap.curArena (field)
14 uses
runtime (current package)
mheap.go#L195: curArena struct {
mheap.go#L1340: end := h.curArena.base + ask
mheap.go#L1342: if nBase > h.curArena.end || /* overflow */ end < h.curArena.base {
mheap.go#L1352: if uintptr(av) == h.curArena.end {
mheap.go#L1355: h.curArena.end = uintptr(av) + asize
mheap.go#L1360: if size := h.curArena.end - h.curArena.base; size != 0 {
mheap.go#L1361: h.pages.grow(h.curArena.base, size)
mheap.go#L1365: h.curArena.base = uintptr(av)
mheap.go#L1366: h.curArena.end = uintptr(av) + asize
mheap.go#L1384: nBase = alignUp(h.curArena.base+ask, physPageSize)
mheap.go#L1388: v := h.curArena.base
mheap.go#L1389: h.curArena.base = nBase
![]() |
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. |