1
0
mirror of https://github.com/golang/go synced 2024-11-26 20:31:25 -07:00

doc/go1.11: update runtime/pprof change note

Mention the change in the behavior of go test -memprofile.

Change-Id: I0384f058298bd8fcfd2d97996464d46b4e419938
Reviewed-on: https://go-review.googlesource.com/124656
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Hana (Hyang-Ah) Kim 2018-07-18 03:06:21 -04:00 committed by Hyang-Ah Hana Kim
parent bd9a0185d2
commit 311ec41b5a

View File

@ -661,8 +661,9 @@ func f(v interface{}) {
This release adds a new "allocs" profile type that profiles This release adds a new "allocs" profile type that profiles
total number of bytes allocated since the program began total number of bytes allocated since the program began
(including garbage-collected bytes). This is identical to the (including garbage-collected bytes). This is identical to the
existing "heap" profile viewed in <code>-alloc_space</code> existing "heap" profile viewed in <code>-alloc_space</code> mode.
mode. Now <code>go test -memprofile=...</code> reports an "allocs" profile
instead of "heap" profile.
</p> </p>
</dl><!-- runtime/pprof --> </dl><!-- runtime/pprof -->