]> Cypherpunks repositories - gostls13.git/commit
runtime: remove unused gcstats
authorAustin Clements <austin@google.com>
Fri, 23 Dec 2016 00:45:55 +0000 (17:45 -0700)
committerAustin Clements <austin@google.com>
Sat, 4 Mar 2017 02:56:35 +0000 (02:56 +0000)
commit3399fd254dcdf4e8a9be8c327076de5f9efe1b3a
tree1b690a6cb7688f5a8cbfc9f31dbc2854b94c3ded
parent7523baed098789b8b4e2a5b295b14db91ab5e5cf
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>
src/runtime/heapdump.go
src/runtime/mgcwork.go
src/runtime/mstats.go
src/runtime/runtime2.go