• Austin Clements's avatar
    runtime: eliminate memstats.heap_reachable · 2098e5d3
    Austin Clements authored
    We used to compute an estimate of the reachable heap size that was
    different from the marked heap size. This ultimately caused more
    problems than it solved, so we pulled it out, but memstats still has
    both heap_reachable and heap_marked, and there are some leftover TODOs
    about the problems with this estimate.
    
    Clean this up by eliminating heap_reachable in favor of heap_marked
    and deleting the stale TODOs.
    
    Change-Id: I713bc20a7c90683d2b43ff63c0b21a440269cc4d
    Reviewed-on: https://go-review.googlesource.com/29271
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
    2098e5d3
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...