diff options
Diffstat (limited to 'deps/v8/test/unittests/heap/cppgc-js/unified-heap-utils.h')
-rw-r--r-- | deps/v8/test/unittests/heap/cppgc-js/unified-heap-utils.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/deps/v8/test/unittests/heap/cppgc-js/unified-heap-utils.h b/deps/v8/test/unittests/heap/cppgc-js/unified-heap-utils.h index 21be7a07ae..7c212194d4 100644 --- a/deps/v8/test/unittests/heap/cppgc-js/unified-heap-utils.h +++ b/deps/v8/test/unittests/heap/cppgc-js/unified-heap-utils.h @@ -18,7 +18,7 @@ namespace internal { class CppHeap; -class UnifiedHeapTest : public TestWithHeapInternals { +class UnifiedHeapTest : public TestWithHeapInternalsAndContext { public: UnifiedHeapTest(); explicit UnifiedHeapTest( @@ -31,6 +31,13 @@ class UnifiedHeapTest : public TestWithHeapInternals { cppgc::Heap::SweepingType sweeping_type = cppgc::Heap::SweepingType::kAtomic); + void CollectYoungGarbageWithEmbedderStack( + cppgc::Heap::SweepingType sweeping_type = + cppgc::Heap::SweepingType::kAtomic); + void CollectYoungGarbageWithoutEmbedderStack( + cppgc::Heap::SweepingType sweeping_type = + cppgc::Heap::SweepingType::kAtomic); + CppHeap& cpp_heap() const; cppgc::AllocationHandle& allocation_handle(); |