Home | History | Annotate | Download | only in runtime

Lines Matching refs:GOGC

115 // the amount already in use. The proportion is controlled by GOGC environment variable
116 // (100 by default). If GOGC=100 and we're using 4M, we'll GC again when we get to 8M
118 // 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.
191 p := gogetenv("GOGC")
299 // This algorithm optimizes for heap growth to match GOGC and for CPU
464 // (100+GOGC)/100) to counter this over-estimation, but
479 // to GOGC. We don't want to set the assist negative
506 // difference between this estimate and the GOGC-based goal