aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/typecheck/iexport.go
diff options
context:
space:
mode:
authorMichael Anthony Knyszek <mknyszek@google.com>2021-04-01 18:09:59 +0000
committerMichael Knyszek <mknyszek@google.com>2021-04-14 03:15:34 +0000
commite7ab1a5ba83cd013af24b011d9d3a88dc5b05c07 (patch)
tree316b7308f5d7a116b3cfb4bc83398b222392c652 /src/cmd/compile/internal/typecheck/iexport.go
parent9bce7b70fde8572880e7a47bc2a4df8fb7b2c286 (diff)
downloadgo-e7ab1a5ba83cd013af24b011d9d3a88dc5b05c07.tar.gz
go-e7ab1a5ba83cd013af24b011d9d3a88dc5b05c07.zip
runtime: create setGCPercent method for gcControllerState
This change breaks out the computations done by setGCPercent into a method on gcControllerState for easier testing later. It leaves behind the global implementation details. For #44167. Change-Id: I3b0cf1475b032fcd4ebbd01cf4e80de0b55ce7b0 Reviewed-on: https://go-review.googlesource.com/c/go/+/306602 Trust: Michael Knyszek <mknyszek@google.com> Run-TryBot: Michael Knyszek <mknyszek@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/cmd/compile/internal/typecheck/iexport.go')
0 files changed, 0 insertions, 0 deletions