• Austin Clements's avatar
    runtime: reset sweep stats before starting the world · ff5c9453
    Austin Clements authored
    Currently we reset the sweep stats just after gcMarkTermination starts
    the world and releases worldsema. However, background sweeping can
    start the moment we start the world and, in fact, pause sweeping can
    start the moment we release worldsema (because another GC cycle can
    start up), so these need to be cleared before starting the world.
    
    Change-Id: I95701e3de6af76bb3fbf2ee65719985bf57d20b2
    Reviewed-on: https://go-review.googlesource.com/17811
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    ff5c9453
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...