• Austin Clements's avatar
    runtime: simplify heap profile flushing · 1be3e76e
    Austin Clements authored
    Currently the heap profile is flushed by *either* gcSweep in STW mode
    or by gcMarkTermination in concurrent mode. Simplify this by making
    gcMarkTermination always flush the heap profile and by making gcSweep
    do one extra flush (instead of two) in STW mode.
    
    Change-Id: I62147afb2a128e1f3d92ef4bb8144c8a345f53c4
    Reviewed-on: https://go-review.googlesource.com/37715
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
    1be3e76e
Name
Last commit
Last update
.github Loading commit data...
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...