const runtime.heapAddrBits
14 uses
runtime (current package)
malloc.go#L210: heapAddrBits = (_64bit*(1-sys.GoarchWasm)*(1-sys.GoosIos*sys.GoarchArm64))*48 + (1-_64bit+sys.GoarchWasm)*(32-(sys.GoarchMips+sys.GoarchMipsle)) + 33*sys.GoosIos*sys.GoarchArm64
malloc.go#L217: maxAlloc = (1 << heapAddrBits) - (1-_64bit)*1
malloc.go#L279: arenaL2Bits = heapAddrBits - logHeapArenaBytes - arenaL1Bits
mbitmap.go#L121: var _ = heapBits{arena: (1<<heapAddrBits)/heapArenaBytes - 1}
mpagealloc.go#L75: summaryL0Bits = heapAddrBits - logPallocChunkBytes - (summaryLevels-1)*summaryLevelBits
mpagealloc.go#L82: pallocChunksL2Bits = heapAddrBits - logPallocChunkBytes - pallocChunksL1Bits
mpagealloc_64bit.go#L48: heapAddrBits - summaryL0Bits,
mpagealloc_64bit.go#L49: heapAddrBits - summaryL0Bits - 1*summaryLevelBits,
mpagealloc_64bit.go#L50: heapAddrBits - summaryL0Bits - 2*summaryLevelBits,
mpagealloc_64bit.go#L51: heapAddrBits - summaryL0Bits - 3*summaryLevelBits,
mpagealloc_64bit.go#L52: heapAddrBits - summaryL0Bits - 4*summaryLevelBits,
mpagealloc_64bit.go#L74: entries := 1 << (heapAddrBits - shift)
mranges.go#L92: maxOffAddr = offAddr{(((1 << heapAddrBits) - 1) + arenaBaseOffset) & uintptrMask}
stack.go#L155: free [heapAddrBits - pageShift]mSpanList // free lists by log_2(s.npages)
![]() |
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. |