• 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...
cctest Loading commit data...
fuzzer Loading commit data...
inspector_protocol_parser_test Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...