]> Cypherpunks repositories - gostls13.git/commit
runtime: include heap goal in gctrace line
authorAustin Clements <austin@google.com>
Tue, 21 Apr 2015 20:38:38 +0000 (16:38 -0400)
committerAustin Clements <austin@google.com>
Wed, 22 Apr 2015 19:07:44 +0000 (19:07 +0000)
commit1ccc577b8a348d89b44d12ef6740c15d8fc10598
tree7d680d1761ce16eaa52c7fbb78a018bc4ff93e28
parent1f39beb01a5ca6a9015d6a30af5a968a247f8d10
runtime: include heap goal in gctrace line

This may or may not be useful to the end user, but it's incredibly
useful for us to understand the behavior of the pacer. Currently this
is fairly easy (though not trivial) to derive from the other heap
stats we print, but we're about to change how we compute the goal,
which will make it much harder to derive.

Change-Id: I796ef233d470c01f606bd9929820c01ece1f585a
Reviewed-on: https://go-review.googlesource.com/9176
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mgc.go