v8/test/unittests/heap
Michael Lippautz 881fc0496c [cppgc, cppgc-js] Implement GC on allocation failure
So far Oilpan garbage collection was only ever triggered via growing
strategies in either V8 or stand-alone heap growing. This CL
implements a fallback for GC on allocation.

- Stand-alone implementation will defer to GCInvoker which is aware of
  stack support.
- CppHeap implementation will just trigger a full V8 GC.

Bug: chromium:1352649
Change-Id: If92f705b4e272290ca7022864fd7b90f0fcb809e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3865148
Reviewed-by: Anton Bikineev <bikineev@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82844}
2022-08-30 19:36:18 +00:00
..
base [heap] Another round of Worklist simplifications 2022-08-23 09:26:15 +00:00
cppgc [cppgc, cppgc-js] Implement GC on allocation failure 2022-08-30 19:36:18 +00:00
cppgc-js [api, heap] Deprecate v8::EmbedderHeapTracer 2022-08-24 09:03:00 +00:00
allocation-observer-unittest.cc [heap] Support removing of observers during Step() 2020-08-17 10:42:32 +00:00
bitmap-test-utils.h [heap] Relax accessing markbits in ranges. 2019-02-25 15:28:41 +00:00
bitmap-unittest.cc [heap] Fix an out-of-bounds access in the marking bitmap 2020-04-20 09:07:57 +00:00
code-object-registry-unittest.cc Reland "[heap] Sweep code pages on the background thread" 2022-06-22 07:59:18 +00:00
embedder-tracing-unittest.cc Reland "[test] Migrate cctest/test-global-handles to unittests/" 2022-08-25 10:22:02 +00:00
gc-idle-time-handler-unittest.cc Reland "Fix -Wimplicit-int-float-conversions." 2021-06-29 16:36:18 +00:00
gc-tracer-unittest.cc heap: Inline GCTracer::Scope constructor and destructor 2022-04-13 13:17:39 +00:00
global-handles-unittest.cc Reland "[test] Migrate cctest/test-global-handles to unittests/" 2022-08-25 10:22:02 +00:00
global-safepoint-unittest.cc [shared-struct, api] Support shared isolates in API 2022-08-26 23:41:57 +00:00
heap-controller-unittest.cc [cleanup] Replace all remaining Min/Max uses with std::min/max 2020-11-24 17:32:01 +00:00
heap-unittest.cc [heap] Enable MinorMC incremental marking on soft limit 2022-08-24 13:58:21 +00:00
heap-utils.cc Reland "[test] Migrate cctest/test-global-handles to unittests/" 2022-08-25 10:22:02 +00:00
heap-utils.h [shared-struct, api] Support shared isolates in API 2022-08-26 23:41:57 +00:00
index-generator-unittest.cc [Heap]: Implement IndexGenerator for Jobs use cases. 2020-09-11 19:25:33 +00:00
lab-unittest.cc [heap] Add Heap::NotifyObjectSizeChange for right-trimming 2022-04-27 08:01:24 +00:00
list-unittest.cc [heap] Make Heap::Contains const 2020-05-13 13:19:22 +00:00
local-factory-unittest.cc [compiler] Introduce ReusableUnoptimizedCompileState 2021-12-08 11:14:27 +00:00
local-handles-unittest.cc [test] Migrate cctest/test-local-handles to unittests/ 2022-08-15 16:51:26 +00:00
local-heap-unittest.cc [heap] Invoke internal GC callbacks before Heap verification 2022-08-17 09:00:28 +00:00
marking-inner-pointer-resolution-unittest.cc [heap] Implement page lookup for IPR 2022-07-27 13:07:48 +00:00
marking-unittest.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
marking-worklist-unittest.cc [heap] Fix marking in per-context mode 2022-08-22 19:18:38 +00:00
memory-reducer-unittest.cc [gc] Delay start of memory reducer. 2022-06-21 18:59:27 +00:00
object-start-bitmap-unittest.cc heap: Fix and clean up object start bitmap 2022-05-31 16:37:08 +00:00
object-stats-unittest.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
page-promotion-unittest.cc [heap] Implement SimulateFullSpace for PagedNewSpace 2022-08-12 12:55:52 +00:00
persistent-handles-unittest.cc [test] Move cctest/test-persistent-handles to 2022-06-27 11:30:34 +00:00
progressbar-unittest.cc heap: Fix TSAN race when setting a flag after page initialization 2021-08-19 10:28:57 +00:00
safepoint-unittest.cc [test][cleanup] Fix -Wshadow warnings in unittests 2021-09-27 08:59:01 +00:00
shared-heap-unittest.cc [shared-struct, api] Support shared isolates in API 2022-08-26 23:41:57 +00:00
slot-set-unittest.cc [heap] Simplify Sweeper::CleanupInvalidTypedSlotsOfFreeRanges 2022-04-06 13:22:03 +00:00
spaces-unittest.cc [heap] Add Heap::NotifyObjectSizeChange for right-trimming 2022-04-27 08:01:24 +00:00
unmapper-unittest.cc [sandbox] Turn V8_SANDBOX into V8_ENABLE_SANDBOX 2022-05-13 16:23:23 +00:00