const runtime.heapArenaBytes
20 uses
runtime (current package)
heapdump.go#L526: if base+heapArenaBytes > arenaEnd {
heapdump.go#L527: arenaEnd = base + heapArenaBytes
malloc.go#L245: heapArenaBytes = 1 << logHeapArenaBytes
malloc.go#L253: heapArenaBitmapBytes = heapArenaBytes / (sys.PtrSize * 8 / 2)
malloc.go#L255: pagesPerArena = heapArenaBytes / pageSize
malloc.go#L597: p = alignUp(p+(256<<10), heapArenaBytes)
malloc.go#L606: a, size := sysReserveAligned(unsafe.Pointer(p), arenaSize, heapArenaBytes)
malloc.go#L632: n = alignUp(n, heapArenaBytes)
malloc.go#L635: v = h.arena.alloc(n, heapArenaBytes, &memstats.heap_sys)
malloc.go#L691: v, size = sysReserveAligned(nil, n, heapArenaBytes)
malloc.go#L724: if uintptr(v)&(heapArenaBytes-1) != 0 {
mbitmap.go#L121: var _ = heapBits{arena: (1<<heapAddrBits)/heapArenaBytes - 1}
mcheckmark.go#L27: type checkmarksMap [heapArenaBytes / sys.PtrSize / 8]uint8
mcheckmark.go#L91: arenaWord := (obj / heapArenaBytes / 8) % uintptr(len(arena.checkmarks))
mcheckmark.go#L92: mask := byte(1 << ((obj / heapArenaBytes) % 8))
mheap.go#L564: return arenaIdx((p - arenaBaseOffset) / heapArenaBytes)
mheap.go#L570: return uintptr(i)*heapArenaBytes + arenaBaseOffset
mheap.go#L978: arenaBase := base % heapArenaBytes
mheap.go#L998: if arenaLimit > heapArenaBytes {
mheap.go#L999: arenaLimit = heapArenaBytes
 |
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. |