runtime.mheap.pagesSwept (field)
6 uses
runtime (current package)
mgc.go#L937: pagesSwept := atomic.Load64(&mheap_.pagesSwept)
mgc.go#L2180: mheap_.pagesSwept = 0
mgcsweep.go#L267: print("pacer: sweep done at heap size ", memstats.heap_live>>20, "MB; allocated ", (memstats.heap_live-mheap_.sweepHeapLiveBasis)>>20, "MB during sweep; swept ", mheap_.pagesSwept, " pages at ", sweepRatio, " pages/byte\n")
mgcsweep.go#L337: atomic.Xadd64(&mheap_.pagesSwept, int64(s.npages))
mgcsweep.go#L650: for pagesTarget > int64(atomic.Load64(&mheap_.pagesSwept)-sweptBasis) {
mheap.go#L105: pagesSwept uint64 // pages swept this cycle; updated atomically
 |
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. |