File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1167,7 +1167,7 @@ top:
11671167 // endCycle depends on all gcWork cache stats being flushed.
11681168 // The termination algorithm above ensured that up to
11691169 // allocations since the ragged barrier.
1170- gcController .endCycle (now , int (gomaxprocs ), work . userForced )
1170+ gcController .endCycle (now , int (gomaxprocs ))
11711171
11721172 // Perform mark termination. This will restart the world.
11731173 gcMarkTermination (stw )
Original file line number Diff line number Diff line change @@ -595,9 +595,7 @@ func (c *gcControllerState) revise() {
595595}
596596
597597// endCycle computes the consMark estimate for the next cycle.
598- // userForced indicates whether the current GC cycle was forced
599- // by the application.
600- func (c * gcControllerState ) endCycle (now int64 , procs int , userForced bool ) {
598+ func (c * gcControllerState ) endCycle (now int64 , procs int ) {
601599 // Record last heap goal for the scavenger.
602600 // We'll be updating the heap goal soon.
603601 gcController .lastHeapGoal = c .heapGoal ()
You can’t perform that action at this time.
0 commit comments