func runtime.heapRetained
5 uses
runtime (current package)
mgcscavenge.go#L102: func heapRetained() uint64 {
mgcscavenge.go#L148: retainedNow := heapRetained()
mgcscavenge.go#L296: retained, goal := heapRetained(), mheap_.scavengeGoal
mgcscavenge.go#L433: (atomic.Load64(&memstats.heap_inuse)*100)/heapRetained(), "% util",
mheap.go#L1397: if retained := heapRetained(); retained+uint64(totalGrowth) > h.scavengeGoal {
![]() |
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. |