• Dmitriy Vyukov's avatar
    runtime: fix memstats · 30ef2c7d
    Dmitriy Vyukov authored
    Newly allocated memory is subtracted from inuse, while it was never added to inuse.
    Span leftovers are subtracted from both inuse and idle,
    while they were never added.
    Fixes #8544.
    Fixes #8430.
    
    LGTM=khr, cookieo9
    R=golang-codereviews, khr, cookieo9
    CC=golang-codereviews, rlh, rsc
    https://golang.org/cl/130200044
    30ef2c7d
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...