- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for prepareForSweep (0.17 sec)
-
src/runtime/mgc.go
// of additional memory might be held onto. // // Also, flush the pinner cache, to avoid leaking that memory // indefinitely. forEachP(waitReasonFlushProcCaches, func(pp *p) { pp.mcache.prepareForSweep() if pp.status == _Pidle { systemstack(func() { lock(&mheap_.lock) pp.pcache.flush(&mheap_.pages) unlock(&mheap_.lock) }) } pp.pinnerCache = nil })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0)