• mlippautz's avatar
    [heap] Introduce hard limit for external memory · ce66eec8
    mlippautz authored
    We introduce, similar to regular heap, a hard and a soft limit for external memory.
    - Upon reaching the hard limit we do a full GC. The hard limit is a a delta from
      the size of external memory at last GC.
    - Upon reaching the soft limit we start incremental marking. Each further
      AdjustAmountOfExternalMemory will trigger a marking step. The step size depends
      on how far we are away from the hard limit. Further away means we have still
      some wiggle room and the step will be small. Being closer to the hard limit
      makes it more likely to trigger a full GC, so we increase the step size.
    
    BUG=chromium:621829
    
    Review-Url: https://codereview.chromium.org/2256853003
    Cr-Commit-Position: refs/heads/master@{#39133}
    ce66eec8
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles 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...
.gn Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm 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...
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...