• Austin Clements's avatar
    runtime: ensure minimum heap distance via heap goal · 9e77c898
    Austin Clements authored
    Currently we ensure a minimum heap distance of 1MB when computing the
    assist ratio. Rather than enforcing this minimum on the heap distance,
    it makes more sense to enforce that the heap goal itself is at least
    1MB over the live heap size at the beginning of GC. Currently the two
    approaches are semantically equivalent, but this will let us switch to
    basing the assist ratio on current heap distance rather than the
    initial heap distance, since we can't enforce this minimum on the
    current heap distance (the GC may never finish because the goal posts
    will always be 1MB away).
    
    Change-Id: I0027b1c26a41a0152b01e5b67bdb1140d43ee903
    Reviewed-on: https://go-review.googlesource.com/15604Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
    9e77c898
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...