• Austin Clements's avatar
    runtime: always report starting heap size in gctrace · 7eeeae2a
    Austin Clements authored
    Currently the gctrace output reports the trigger heap size, rather
    than the actual heap size at the beginning of GC. Often these are the
    same, or at least very close. However, it's possible for the heap to
    already have exceeded this trigger when we first check the trigger and
    start GC; in this case, this output is very misleading. We've
    encountered this confusion a few times when debugging and this
    behavior is difficult to document succinctly.
    
    Change the gctrace output to report the actual heap size when GC
    starts, rather than the trigger.
    
    Change-Id: I246b3ccae4c4c7ea44c012e70d24a46878d7601f
    Reviewed-on: https://go-review.googlesource.com/12452Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    7eeeae2a
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...