Lines Matching defs:mcache
19 type mcache struct { struct
20 _ sys.NotInHeap
24 nextSample uintptr // trigger heap sample after allocating this many bytes
25 scanAlloc uintptr // bytes of scannable heap allocated
39 tiny uintptr
40 tinyoffset uintptr
41 tinyAllocs uintptr
45 alloc [numSpanClasses]*mspan // spans to allocate from, indexed by spanClass
47 stackcache [_NumStackOrders]stackfreelist
53 flushGen atomic.Uint32
106 func freemcache(c *mcache) {
147 func (c *mcache) refill(spc spanClass) {
219 func (c *mcache) allocLarge(size uintptr, noscan bool) *mspan {
259 func (c *mcache) releaseAll() {
312 func (c *mcache) prepareForSweep() {