mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: remove old pacer and the PacerRedesign goexperiment
Now that Go 1.18 has been released, remove the old pacer. Change-Id: Ie7a7596d67f3fc25d3f375a08fc75eafac2eb834 Reviewed-on: https://go-review.googlesource.com/c/go/+/393396 Trust: Michael Knyszek <mknyszek@google.com> Reviewed-by: Austin Clements <austin@google.com> Reviewed-by: Michael Pratt <mpratt@google.com>
This commit is contained in:
parent
f1b5c048d7
commit
3334afd760
9 changed files with 190 additions and 502 deletions
|
|
@ -1308,9 +1308,9 @@ func (c *GCController) Revise(d GCControllerReviseDelta) {
|
|||
|
||||
func (c *GCController) EndCycle(bytesMarked uint64, assistTime, elapsed int64, gomaxprocs int) {
|
||||
c.assistTime = assistTime
|
||||
triggerRatio := c.endCycle(elapsed, gomaxprocs, false)
|
||||
c.endCycle(elapsed, gomaxprocs, false)
|
||||
c.resetLive(bytesMarked)
|
||||
c.commit(triggerRatio)
|
||||
c.commit()
|
||||
}
|
||||
|
||||
var escapeSink any
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue