runtime.gcTrigger.kind (field)
7 uses
runtime (current package)
malloc.go#L1165: if t := (gcTrigger{kind: gcTriggerHeap}); t.test() {
mgc.go#L1159: gcStart(gcTrigger{kind: gcTriggerCycle, n: n + 1})
mgc.go#L1235: kind gcTriggerKind
mgc.go#L1266: switch t.kind {
mgc.go#L1329: work.userForced = trigger.kind == gcTriggerCycle
proc.go#L282: gcStart(gcTrigger{kind: gcTriggerTime, now: nanotime()})
proc.go#L5236: if t := (gcTrigger{kind: gcTriggerTime, now: now}); t.test() && atomic.Load(&forcegc.idle) != 0 {
 |
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. |