- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for stackpool (0.21 sec)
-
src/runtime/stack.go
for order := range stackpool { lock(&stackpool[order].item.mu) list := &stackpool[order].item.span for s := list.first; s != nil; { next := s.next if s.allocCount == 0 { list.remove(s) s.manualFreeList = 0 osStackFree(s) mheap_.freeManual(s, spanAllocStack) } s = next } unlock(&stackpool[order].item.mu) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 41.1K bytes - Viewed (0) -
src/runtime/mklockrank.go
root # Anything that can grow the stack can acquire STACKGROW. # (Most higher layers imply STACKGROW, like MALLOC.) < STACKGROW # Below STACKGROW is the stack allocator/copying implementation. < gscan; gscan < stackpool; gscan < stackLarge; # Generally, hchan must be acquired before gscan. But in one case, # where we suspend a G and then shrink its stack, syncadjustsudogs # can acquire hchan locks while holding gscan. To allow this case,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.1K bytes - Viewed (0) -
src/runtime/lockrank.go
lockRankProfBlock: "profBlock", lockRankProfMemActive: "profMemActive", lockRankProfMemFuture: "profMemFuture", lockRankGscan: "gscan", lockRankStackpool: "stackpool", lockRankStackLarge: "stackLarge", lockRankHchanLeaf: "hchanLeaf", lockRankWbufSpans: "wbufSpans", lockRankMheap: "mheap", lockRankMheapSpecial: "mheapSpecial",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 19.9K bytes - Viewed (0)