mirror of
https://github.com/golang/go
synced 2024-11-26 18:16:48 -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:
parent
bd9a0185d2
commit
311ec41b5a
@ -661,8 +661,9 @@ func f(v interface{}) {
|
||||
This release adds a new "allocs" profile type that profiles
|
||||
total number of bytes allocated since the program began
|
||||
(including garbage-collected bytes). This is identical to the
|
||||
existing "heap" profile viewed in <code>-alloc_space</code>
|
||||
mode.
|
||||
existing "heap" profile viewed in <code>-alloc_space</code> mode.
|
||||
Now <code>go test -memprofile=...</code> reports an "allocs" profile
|
||||
instead of "heap" profile.
|
||||
</p>
|
||||
|
||||
</dl><!-- runtime/pprof -->
|
||||
|
Loading…
Reference in New Issue
Block a user