Home | History | Annotate | Download | only in runtime

Lines Matching refs:GOGC

122 // the amount already in use. The proportion is controlled by GOGC environment variable
123 // (100 by default). If GOGC=100 and we're using 4M, we'll GC again when we get to 8M
125 // proportion to the allocation cost. Adjusting GOGC just changes the linear constant
157 // For small heaps, this overrides the usual GOGC*live set rule.
160 // collecting when the heap reaches GOGC*live results in many GC
164 // During initialization this is set to 4MB*GOGC/100. In the case of
165 // GOGC==0, this will set heapminimum to 0, resulting in constant
170 // defaultHeapMinimum is the value of heapminimum for GOGC==100.
173 // Initialized from $GOGC. GOGC=off means no GC.
201 p := gogetenv("GOGC")
347 // This algorithm optimizes for heap growth to match GOGC and for CPU
462 // GOGC. Assist is proportional to this distance, so enforce a
463 // minimum distance, even if it means going over the GOGC goal
524 // act like GOGC is huge for the below calculations.
539 // GOGC=100, only half of the scannable heap is
614 // difference between this estimate and the GOGC-based goal
842 // has grown by GOGC/100 over the heap marked by the last
848 // The trigger ratio is always less than GOGC/100, but
1180 // unconditionally, even if GOGC is off or we're in a cycle