runtime.pageAlloc.chunks (field)
7 uses
runtime (current package)
mgcscavenge.go#L656: l2 := (*[1 << pallocChunksL2Bits]pallocData)(atomic.Loadp(unsafe.Pointer(&p.chunks[i.l1()])))
mpagealloc.go#L232: chunks [1 << pallocChunksL1Bits]*[1 << pallocChunksL2Bits]pallocData
mpagealloc.go#L333: l2 := p.chunks[ci.l1()]
mpagealloc.go#L344: return &p.chunks[ci.l1()][ci.l2()]
mpagealloc.go#L392: if p.chunks[c.l1()] == nil {
mpagealloc.go#L397: r := sysAlloc(unsafe.Sizeof(*p.chunks[0]), p.sysStat)
mpagealloc.go#L398: atomic.StorepNoWB(unsafe.Pointer(&p.chunks[c.l1()]), r)
![]() |
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. |