• mlippautz's avatar
    [heap] Remove unswept bytes counter · 93e93983
    mlippautz authored
    This change removes the unswept free bytes counter.
    
    The new approach
    - directly decrements allocated memory and capacity before sweeping (using live
      bytes from the marker), and
    - adds back capacity during refilling a free list.
    
    This is another pre-work for moving around free lists while keeping the counters
    in a sane state.
    
    The previous approach allowed us to nail down how much memory is to-be-swept.
    However, there were no users of this as we only used it do decrement it from
    allocated memory (which still accounted for dead objects).  If we want to keep
    track of unswept free bytes in a space during compaction we can introduce a
    separate new concurrent counter for this purpose.
    
    BUG=chromium:524425
    LOG=N
    
    Review URL: https://codereview.chromium.org/1380723002
    
    Cr-Commit-Position: refs/heads/master@{#31175}
    93e93983
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
docs Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party/binutils Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...