go/src/cmd/trace
Michael Anthony Knyszek 3eaf75c13a runtime: move next_gc and last_next_gc into gcControllerState
This change moves next_gc and last_next_gc into gcControllerState under
the names heapGoal and lastHeapGoal respectively. These are
fundamentally GC pacer related values, and so it makes sense for them to
live here.

Partially generated by

rf '
    ex . {
	memstats.next_gc -> gcController.heapGoal
	memstats.last_next_gc -> gcController.lastHeapGoal
    }
'

except for updates to comments and gcControllerState methods, where
they're accessed through the receiver, and trace-related renames of
NextGC -> HeapGoal, while we're here.

For #44167.

Change-Id: I1e871ad78a57b01be8d9f71bd662530c84853bed
Reviewed-on: https://go-review.googlesource.com/c/go/+/306603
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>
2021-04-14 14:03:30 +00:00
..
annotations.go cmd/trace: fix the broken link in region pages and improve UX 2020-04-21 14:57:43 +00:00
annotations_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
doc.go
goroutines.go cmd/trace: fix the broken link in region pages and improve UX 2020-04-21 14:57:43 +00:00
main.go
mmu.go all: use HTML5 br tags 2021-03-13 03:38:42 +00:00
pprof.go all: introduce and use internal/execabs 2021-01-21 19:10:18 +00:00
trace.go runtime: move next_gc and last_next_gc into gcControllerState 2021-04-14 14:03:30 +00:00
trace_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
trace_unix_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00