runtime.mheap.reclaimCredit (field)
6 uses
runtime (current package)
mgc.go#L2183: mheap_.reclaimCredit = 0
mgcsweep.go#L233: atomic.Xadduintptr(&mheap_.reclaimCredit, npages)
mheap.go#L134: reclaimCredit uintptr
mheap.go#L759: if credit := atomic.Loaduintptr(&h.reclaimCredit); credit > 0 {
mheap.go#L765: if atomic.Casuintptr(&h.reclaimCredit, credit, credit-take) {
mheap.go#L791: atomic.Xadduintptr(&h.reclaimCredit, nfound-npage)
![]() |
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. |