const runtime.pagesPerSpanRoot
7 uses
runtime (current package)
malloc.go#L470: if pagesPerArena%pagesPerSpanRoot != 0 {
malloc.go#L471: print("pagesPerArena (", pagesPerArena, ") is not divisible by pagesPerSpanRoot (", pagesPerSpanRoot, ")\n")
mgcmark.go#L49: pagesPerSpanRoot = 512
mgcmark.go#L97: work.nSpanRoots = len(mheap_.markArenas) * (pagesPerArena / pagesPerSpanRoot)
mgcmark.go#L319: ai := mheap_.markArenas[shard/(pagesPerArena/pagesPerSpanRoot)]
mgcmark.go#L321: arenaPage := uint(uintptr(shard) * pagesPerSpanRoot % pagesPerArena)
mgcmark.go#L325: specialsbits = specialsbits[:pagesPerSpanRoot/8]
 |
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. |