• Georg Neis's avatar
    Revert "[Memory] Add an OnCriticalMemoryPressure method to V8::Platform." · 53db0584
    Georg Neis authored
    This reverts commit 3f90d9f9.
    
    Reason for revert: https://build.chromium.org/p/client.v8/builders/V8%20Linux64%20TSAN/builds/16510
    
    Original change's description:
    > [Memory] Add an OnCriticalMemoryPressure method to V8::Platform.
    > 
    > Adds virtual V8::Platform::OnCriticalMemoryPressure method, default
    > implementation does nothing.
    > 
    > Calls this method on first allocation failures in NewArray, Malloced,
    > and zone AccountingAllocator and adds retry logic.
    > 
    > Adds utility functions for allocating base::VirtualMemory to functions
    > in allocation.h, which call this method and add retry logic.
    > 
    > Calls these utility functions in heap CodeRange, Spaces, StoreBuffer
    > and SequentialMarkingDeque.
    > 
    > Bug: v8:6635
    > Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    > Change-Id: I38afd394f3be556aca037d16675e9884658158cb
    > Reviewed-on: https://chromium-review.googlesource.com/583543
    > Commit-Queue: Bill Budge <bbudge@chromium.org>
    > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
    > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#46988}
    
    TBR=bbudge@chromium.org,ulan@chromium.org,mlippautz@chromium.org
    
    Change-Id: I79afea5982e62db1462cc5a5585a226f0ddbe752
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: v8:6635
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    Reviewed-on: https://chromium-review.googlesource.com/592887Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Commit-Queue: Georg Neis <neis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#46989}
    53db0584
BUILD.gn 12.6 KB