• 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
..
heap-tester.h Loading commit data...
heap-utils.cc Loading commit data...
heap-utils.h Loading commit data...
test-alloc.cc Loading commit data...
test-array-buffer-tracker.cc Loading commit data...
test-compaction.cc Loading commit data...
test-concurrent-marking.cc Loading commit data...
test-embedder-tracing.cc Loading commit data...
test-heap.cc Loading commit data...
test-incremental-marking.cc Loading commit data...
test-invalidated-slots.cc Loading commit data...
test-lab.cc Loading commit data...
test-mark-compact.cc Loading commit data...
test-page-promotion.cc Loading commit data...
test-spaces.cc Loading commit data...
test-weak-references.cc Loading commit data...