const runtime.pallocChunkBytes
13 uses
runtime (current package)
mgcscavenge.go#L482: p.scav.reservationBytes = alignUp(p.inUse.totalBytes, pallocChunkBytes) / scavengeReservationShards
mgcscavenge.go#L517: newBase := alignDown(r.base.addr(), pallocChunkBytes)
mgcscavenge.go#L539: if r.base.addr()%pallocChunkBytes != 0 {
mgcscavenge.go#L572: if work.base.addr()%pallocChunkBytes != 0 {
mheap.go#L29: maxPhysHugePageSize = pallocChunkBytes
mpagealloc.go#L59: pallocChunkBytes = pallocChunkPages * pageSize
mpagealloc.go#L102: return chunkIdx((p - arenaBaseOffset) / pallocChunkBytes)
mpagealloc.go#L107: return uintptr(ci)*pallocChunkBytes + arenaBaseOffset
mpagealloc.go#L113: return uint(p % pallocChunkBytes / pageSize)
mpagealloc.go#L356: limit := alignUp(base+size, pallocChunkBytes)
mpagealloc.go#L357: base = alignDown(base, pallocChunkBytes)
mpagealloc_64bit.go#L100: if base%pallocChunkBytes != 0 || limit%pallocChunkBytes != 0 {
![]() |
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. |