mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: remove unused gcstats
The gcstats structure is no longer consumed by anything and no longer tracks statistics that are particularly relevant to the concurrent garbage collector. Remove it. (Having statistics is probably a good idea, but these aren't the stats we need these days and we don't have a way to get them out of the runtime.) In preparation for #13613. Change-Id: Ib63e2f9067850668f9dcbfd4ed89aab4a6622c3f Reviewed-on: https://go-review.googlesource.com/34936 Run-TryBot: Austin Clements <austin@google.com> Reviewed-by: Rick Hudson <rlh@golang.org>
This commit is contained in:
parent
7523baed09
commit
3399fd254d
4 changed files with 3 additions and 35 deletions
|
|
@ -653,7 +653,7 @@ func writeheapdump_m(fd uintptr) {
|
|||
// Update stats so we can dump them.
|
||||
// As a side effect, flushes all the MCaches so the MSpan.freelist
|
||||
// lists contain all the free objects.
|
||||
updatememstats(nil)
|
||||
updatememstats()
|
||||
|
||||
// Set dump file.
|
||||
dumpfd = fd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue