• Austin Clements's avatar
    runtime: update heap profile stats after world is started · 5b7497f3
    Austin Clements authored
    Updating the heap profile stats is one of the most expensive parts of
    mark termination other than stack rescanning, but there's really no
    need to do this with the world stopped. Move it to right after we've
    started the world back up. This creates a *very* small window where
    allocations from the next cycle can slip into the profile, but the
    exact point where mark termination happens is so non-deterministic
    already that a slight reordering here is unimportant.
    
    Change-Id: I2f76f22c70329923ad6a594a2c26869f0736d34e
    Reviewed-on: https://go-review.googlesource.com/31363
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
    5b7497f3
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...