- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for mSpanInUse (0.13 sec)
-
src/runtime/mheap.go
// // When a mspan is allocated, state == mSpanInUse or mSpanManual // and heapmap(i) == span for all s->start <= i < s->start+s->npages. // Every mspan is in one doubly-linked list, either in the mheap's // busy list or one of the mcentral's span lists. // An mspan representing actual memory has state mSpanInUse, // mSpanManual, or mSpanFree. Transitions between these states are
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0) -
src/runtime/mbitmap.go
if datap.bss <= dst && dst < datap.ebss { bulkBarrierBitmap(dst, src, size, dst-datap.bss, datap.gcbssmask.bytedata) return } } return } else if s.state.get() != mSpanInUse || dst < s.base() || s.limit <= dst { // dst was heap memory at some point, but isn't now. // It can't be a global. It must be either our stack, // or in the case of direct channel sends, it could be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
src/runtime/mgcmark.go
// about the span being freed and re-used. s := ha.spans[arenaPage+uint(i)*8+j] // The state must be mSpanInUse if the specials bit is set, so // sanity check that. if state := s.state.get(); state != mSpanInUse { print("s.state = ", state, "\n") throw("non in-use span found with specials bit set") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 21:25:11 UTC 2024 - 52.5K bytes - Viewed (0) -
src/runtime/mgcpacer.go
// useful to couple these stats more tightly to the gcController, which // is intimately connected to how that memory limit is maintained. heapInUse sysMemStat // bytes in mSpanInUse spans heapReleased sysMemStat // bytes released to the OS heapFree sysMemStat // bytes not in any span, but not released to the OS totalAlloc atomic.Uint64 // total bytes allocated
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 55.4K bytes - Viewed (0)