Skip to content

Commit 311ec41

Browse files
committed
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 <[email protected]>
1 parent bd9a018 commit 311ec41

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/go1.11.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,8 +661,9 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
661661
This release adds a new "allocs" profile type that profiles
662662
total number of bytes allocated since the program began
663663
(including garbage-collected bytes). This is identical to the
664-
existing "heap" profile viewed in <code>-alloc_space</code>
665-
mode.
664+
existing "heap" profile viewed in <code>-alloc_space</code> mode.
665+
Now <code>go test -memprofile=...</code> reports an "allocs" profile
666+
instead of "heap" profile.
666667
</p>
667668

668669
</dl><!-- runtime/pprof -->

0 commit comments

Comments
 (0)