]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.11: update runtime/pprof change note
authorHana (Hyang-Ah) Kim <hyangah@gmail.com>
Wed, 18 Jul 2018 07:06:21 +0000 (03:06 -0400)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Wed, 18 Jul 2018 15:15:35 +0000 (15:15 +0000)
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>
doc/go1.11.html

index 79bc1a4fe835568209813f2ba2ce7bf7791ed13b..7b16e121e20b4b17d3c47a18dbca14bd804a8790 100644 (file)
@@ -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 -->