• Keith Randall's avatar
    runtime: fix gctrace=1 · 2425a2e3
    Keith Randall authored
    updatememstats is called on both the m and g stacks.
    Call into flushallmcaches correctly.  flushallmcaches
    can only run on the M stack.
    
    This is somewhat temporary.  once ReadMemStats is in
    Go we can have all of this code M-only.
    
    LGTM=dvyukov
    R=golang-codereviews, dvyukov
    CC=golang-codereviews
    https://golang.org/cl/116880043
    2425a2e3
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...