runtime.mheap.sweepPagesPerByte (field)
9 uses
runtime (current package)
mgc.go#L920: mheap_.sweepPagesPerByte = 0
mgc.go#L941: mheap_.sweepPagesPerByte = 0
mgc.go#L943: mheap_.sweepPagesPerByte = float64(sweepDistancePages) / float64(heapDistance)
mgc.go#L2192: mheap_.sweepPagesPerByte = 0
mgcsweep.go#L190: sweepRatio := mheap_.sweepPagesPerByte // For debugging
mgcsweep.go#L635: if mheap_.sweepPagesPerByte == 0 {
mgcsweep.go#L649: pagesTarget := int64(mheap_.sweepPagesPerByte*float64(newHeapLive)) - int64(callerSweepPages)
mgcsweep.go#L652: mheap_.sweepPagesPerByte = 0
mheap.go#L108: sweepPagesPerByte float64 // proportional sweep ratio; written with lock, read without
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)