v8/include
Michael Lippautz ae45472b6c AdjustAmountOfExternalAllocatedMemory: Do not trigger GCs when reducing amount
GCs should only trigger only trigger when growing external memory but
not when removing it.

- The limit is already lowered when removing memory, so possible future
  allocations check against a lowered limit.
- Memory pressure signals are already handled via an explicit V8 API.

Bug: chromium:899035
Change-Id: I96da5862400e06edb8c9fa47357070b3b48560a1
Reviewed-on: https://chromium-review.googlesource.com/c/1301473
Reviewed-by: Hannes Payer <hpayer@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57024}
2018-10-26 10:33:09 +00:00
..
libplatform [cleanup] Refactor second batch of general classes to use default members. 2018-09-20 10:34:28 +00:00
APIDesign.md Replace <> with &lt;&gt; in md docs 2017-06-12 10:09:12 +00:00
DEPS [inspector] Build inspector under v8_enable_inspector build flag. 2016-09-06 23:26:35 +00:00
OWNERS [ptr-compr] Add gn arg for 31bit Smis on 64bit arch 2018-10-24 13:26:35 +00:00
v8-inspector-protocol.h [inspector] Build inspector under v8_enable_inspector build flag. 2016-09-06 23:26:35 +00:00
v8-inspector.h [cleanup] Refactor inspector to use default members. 2018-09-18 09:13:59 +00:00
v8-internal.h [ptr-compr] Add gn arg for 31bit Smis on 64bit arch 2018-10-24 13:26:35 +00:00
v8-platform.h [heap] Reclaim inaccessible memory. 2018-10-22 10:21:57 +00:00
v8-profiler.h [heap profiler] Provide detailed samples information in heap profiler 2018-10-18 20:50:15 +00:00
v8-testing.h Remove easy to remove calls to Isolate::Current() from api.cc 2015-11-30 08:16:59 +00:00
v8-util.h Remove PersistentContainerCallbackType::kWeak 2018-10-17 14:51:20 +00:00
v8-value-serializer-version.h Expose the ValueSerializer data format version as a compile-time constant. 2017-04-27 15:14:41 +00:00
v8-version-string.h [build] Fix V8_VERSION_STRING with embedder string 2017-10-23 14:31:52 +00:00
v8-version.h Bump V8 version 2018-10-11 14:04:09 +00:00
v8.h AdjustAmountOfExternalAllocatedMemory: Do not trigger GCs when reducing amount 2018-10-26 10:33:09 +00:00
v8config.h [cleanup] Split out v8-internal.h from include/v8.h 2018-09-07 09:55:25 +00:00