Skip to content

Commit

Permalink
doc/go1.11: update runtime/pprof change note
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
hyangah committed Jul 18, 2018
1 parent bd9a018 commit 311ec41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/go1.11.html
Original file line number Diff line number Diff line change
Expand Up @@ -661,8 +661,9 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
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 -->
Expand Down

0 comments on commit 311ec41

Please sign in to comment.