- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for gcDrainN (0.08 sec)
-
src/runtime/mgcmark.go
if untilPreempt { flags |= gcDrainUntilPreempt } gcDrain(gcw, flags) } // gcDrainMarkWorkerFractional is a wrapper for gcDrain that exists to better account // mark time in profiles. func gcDrainMarkWorkerFractional(gcw *gcWork) { gcDrain(gcw, gcDrainFractional|gcDrainUntilPreempt|gcDrainFlushBgCredit) } // gcDrain scans roots and objects in work buffers, blackening grey
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/mgc.go
// mark using checkmark bits, to check that we // didn't forget to mark anything during the // concurrent mark process. startCheckmarks() gcResetMarkState() gcw := &getg().m.p.ptr().gcw gcDrain(gcw, 0) wbBufFlush1(getg().m.p.ptr()) gcw.dispose() endCheckmarks() } // marking is complete so we can turn the write barrier off setGCPhase(_GCoff) stwSwept = gcSweep(work.mode)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0)