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.2.8-preview. (GOOS=darwin GOARCH=arm64)