Lines Matching defs:gcControllerState
90 type gcControllerState struct { struct
92 gcPercent atomic.Int32
102 memoryLimit atomic.Int64
116 heapMinimum uint64
122 runway atomic.Uint64
136 consMark float64
141 lastConsMark [4]float64
147 gcPercentHeapGoal atomic.Uint64
160 sweepDistMinTrigger atomic.Uint64
166 triggered uint64
173 lastHeapGoal uint64
194 heapLive atomic.Uint64
202 heapScan atomic.Uint64
209 lastHeapScan uint64
213 lastStackScan atomic.Uint64
223 maxStackScan atomic.Uint64
227 globalsScan atomic.Uint64
233 heapMarked uint64
249 heapScanWork atomic.Int64
250 stackScanWork atomic.Int64
251 globalsScanWork atomic.Int64
257 bgScanCredit atomic.Int64
264 assistTime atomic.Int64
269 dedicatedMarkTime atomic.Int64
275 fractionalMarkTime atomic.Int64
279 idleMarkTime atomic.Int64
283 markStartTime int64
288 dedicatedMarkWorkersNeeded atomic.Int64
322 idleMarkWorkers atomic.Uint64
328 assistWorkPerByte atomic.Float64
335 assistBytesPerWork atomic.Float64
347 fractionalUtilizationGoal float64
356 heapInUse sysMemStat // bytes in mSpanInUse spans
357 heapReleased sysMemStat // bytes released to the OS
358 heapFree sysMemStat // bytes not in any span, but not released to the OS
359 totalAlloc atomic.Uint64 // total bytes allocated
360 totalFree atomic.Uint64 // total bytes freed
361 mappedReady atomic.Uint64 // total virtual memory in the Ready state (see mem.go).
364 test bool
366 _ cpu.CacheLinePad
369 func (c *gcControllerState) init(gcPercent int32, memoryLimit int64) {
384 func (c *gcControllerState) startCycle(markStartTime int64, procs int, trigger gcTrigger) {
490 func (c *gcControllerState) revise() {
598 func (c *gcControllerState) endCycle(now int64, procs int, userForced bool) {
691 func (c *gcControllerState) enlistWorker() {
731 func (c *gcControllerState) findRunnableGCWorker(pp *p, now int64) (*g, int64) {
824 func (c *gcControllerState) resetLive(bytesMarked uint64) {
846 func (c *gcControllerState) markWorkerStop(mode gcMarkWorkerMode, duration int64) {
861 func (c *gcControllerState) update(dHeapLive, dHeapScan int64) {
883 func (c *gcControllerState) addScannableStack(pp *p, amount int64) {
895 func (c *gcControllerState) addGlobals(amount int64) {
900 func (c *gcControllerState) heapGoal() uint64 {
909 func (c *gcControllerState) heapGoalInternal() (goal, minTrigger uint64) {
955 func (c *gcControllerState) memoryLimitHeapGoal() uint64 {
1097 func (c *gcControllerState) trigger() (uint64, uint64) {
1183 func (c *gcControllerState) commit(isSweepDone bool) {
1243 func (c *gcControllerState) setGCPercent(in int32) int32 {
1292 func (c *gcControllerState) setMemoryLimit(in int64) int64 {
1346 func (c *gcControllerState) addIdleMarkWorker() bool {
1374 func (c *gcControllerState) needIdleMarkWorker() bool {
1381 func (c *gcControllerState) removeIdleMarkWorker() {
1401 func (c *gcControllerState) setMaxIdleMarkWorkers(max int32) {