• Ulan Degenbaev's avatar
    [heap,api] Introduce near-heap-limit callbacks. · 84a80e10
    Ulan Degenbaev authored
    The embedder can get notification when V8 heap size approaches the heap limit
    and can extend the heap limit if needed using
    - v8::Isolate::AddNearHeapLimitCallback
    - v8::Isolate::RemoveNearHeapLimitCallback
    
    This generalizes the exiting v8::debug::SetOutOfMemoryCallback API.
    
    Bug: chromium:824214
    
    Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;master.tryserver.blink:linux_trusty_blink_rel
    Change-Id: Ia444cb7efb6fe85c57fa3785e8fd1d8b654a5224
    Reviewed-on: https://chromium-review.googlesource.com/979447
    Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
    Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#52238}
    84a80e10
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector 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...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.isolate Loading commit data...
d8_default.isolate Loading commit data...
default.isolate Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.isolate Loading commit data...