v8/test/unittests/heap/cppgc
Michael Lippautz 7b70fdfb85 cppgc: Avoid recursive GC during sweeping
Destructors are allowed to allocate without triggering recursive
garbage collections.

This changes NoGCScope to provide a soft-bailout for garbage
collections to avoid introducing yet another scope.

Bug: chromium:1056170
Change-Id: I0fe51a21977ae954221b6b64b2f6e938ff6d3264
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2185131
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Anton Bikineev <bikineev@chromium.org>
Reviewed-by: Omer Katz <omerkatz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67632}
2020-05-06 23:25:01 +00:00
..
finalizer-trait_unittest.cc cppgc: Move implementation headers in internal/ dir 2020-04-08 07:39:40 +00:00
free-list_unittest.cc cppgc: Introduce heap object structure classes 2020-04-28 10:21:11 +00:00
garbage-collected_unittest.cc cppgc: Add PostConstructionCallbackTrait 2020-05-05 07:59:12 +00:00
gc-info_unittest.cc cppgc: Move implementation headers in internal/ dir 2020-04-08 07:39:40 +00:00
heap_unittest.cc cppgc: Introduce HeapVisitor 2020-04-29 00:07:20 +00:00
heap-object-header_unittest.cc cppgc: Fix compilation of death tests on iOS 2020-03-30 19:11:26 +00:00
heap-page_unittest.cc cppgc: Introduce Sweeper 2020-05-05 22:38:59 +00:00
logging_unittest.cc cppgc: Add simple check/dcheck facilities 2020-04-14 16:37:42 +00:00
member_unittests.cc cppgc: Make Trace methods const 2020-04-20 13:15:13 +00:00
page-memory_unittest.cc expect PlatformUsesGuardPages to return true on AIX 2020-04-14 20:26:42 +00:00
persistent_unittests.cc cppgc: Make Trace methods const 2020-04-20 13:15:13 +00:00
prefinalizer_unittests.cc cppgc: Make Trace methods const 2020-04-20 13:15:13 +00:00
run-all-unittests.cc
source-location_unittest.cc cppgc: Add SourceLocation class 2020-04-03 02:00:23 +00:00
stack_unittest.cc cppgc: Remove conservative stack scan guard 2020-04-17 12:37:16 +00:00
sweeper_unittest.cc cppgc: Avoid recursive GC during sweeping 2020-05-06 23:25:01 +00:00
tests.cc cppgc: Avoid recursive GC during sweeping 2020-05-06 23:25:01 +00:00
tests.h cppgc: Avoid recursive GC during sweeping 2020-05-06 23:25:01 +00:00
visitor_unittest.cc cppgc: Make Trace methods const 2020-04-20 13:15:13 +00:00
worklist_unittest.cc cppgc: Duplicate worklist 2020-04-29 00:28:00 +00:00