runtime.mheap.sweepdone (field)
8 uses
runtime (current package)
mgc.go#L178: mheap_.sweepdone = 1
mgc.go#L2179: mheap_.sweepdone = 0
mgcsweep.go#L195: if atomic.Load(&mheap_.sweepdone) != 0 {
mgcsweep.go#L207: atomic.Store(&mheap_.sweepdone, 1)
mgcsweep.go#L244: if atomic.Xadd(&mheap_.sweepers, -1) == 0 && atomic.Load(&mheap_.sweepdone) != 0 {
mgcsweep.go#L281: return mheap_.sweepdone != 0
mheap.go#L68: sweepdone uint32 // all spans are swept
mheap.go#L907: if h.sweepdone == 0 {
![]() |
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. |