v8/test/cctest/heap
Michael Lippautz a6938128f4 [embedder-tracing] Add GarbageCollectionForTesting call
This call can be used by embedder to request a GC for testing reasons.
The GC also takes the current embedder stack state as an argument that
is forwarded to the embedder when entering the atomic pause.

This way embedders can request garbage collections for testing and set
how the embedder should treat the stack.

Bug: chromium:843903
Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
Change-Id: Id10604565b4457dd0fca402afeb5f8e592fa0bae
Reviewed-on: https://chromium-review.googlesource.com/1183431
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55285}
2018-08-21 18:42:05 +00:00
..
heap-tester.h Reland "Fix invalidation of old-to-old slots after object trimming." 2018-08-11 08:35:39 +00:00
heap-utils.cc [explicit isolates] Make Heap::InNewSpace static 2018-07-10 08:52:29 +00:00
heap-utils.h [heap] Exclude the owner of the linear allocation area from evacuation. 2016-11-03 12:13:23 +00:00
test-alloc.cc [cleanup] Split off api-inl.h from api.h to make latter self contained 2018-07-23 16:03:49 +00:00
test-array-buffer-tracker.cc [objects] Split js-array-buffer.h from js-array.h 2018-08-17 08:58:08 +00:00
test-compaction.cc [explicit isolates] Make Heap::InNewSpace static 2018-07-10 08:52:29 +00:00
test-concurrent-marking.cc [explicit isolates] Convert src/* to ReadOnlyRoots 2018-07-04 10:29:45 +00:00
test-embedder-tracing.cc [embedder-tracing] Add GarbageCollectionForTesting call 2018-08-21 18:42:05 +00:00
test-external-string-tracker.cc [heap] Fix ThinString promotion counters. 2018-07-30 19:08:57 +00:00
test-heap.cc [heap][cleanup] Avoid exposing store-buffer internals. 2018-08-20 14:21:26 +00:00
test-incremental-marking.cc [V8 Platform] Make CallOnWorkerThread use std::unique_ptr 2018-03-26 17:43:22 +00:00
test-invalidated-slots.cc Reland "Fix invalidation of old-to-old slots after object trimming." 2018-08-11 08:35:39 +00:00
test-lab.cc [ubsan] Change Address typedef to uintptr_t 2018-04-14 01:25:28 +00:00
test-mark-compact.cc [explicit isolates] Remove various GetIsolates 2018-07-17 11:56:37 +00:00
test-page-promotion.cc [heap] Added NewToOld page promotion test using JSArrayBuffers. 2018-06-25 13:26:09 +00:00
test-spaces.cc [explicit isolates] Convert src/* to ReadOnlyRoots 2018-07-04 10:29:45 +00:00
test-unmapper.cc [V8Platform] Remove deprecated Background threads APIs and make new APIs pure virtual. 2018-05-16 23:27:02 +00:00
test-weak-references.cc [in-place weak refs] Make WeakArrayList::RemoveOne more efficient 2018-08-02 15:15:38 +00:00