#include "third_party/blink/renderer/platform/heap/heap_test_utilities.h"
#include <memory>
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "v8/include/cppgc/platform.h"
namespace blink {
namespace {
bool IsGCInProgress() { … }
}
TestSupportingGC::~TestSupportingGC() { … }
void TestSupportingGC::PreciselyCollectGarbage() { … }
void TestSupportingGC::ConservativelyCollectGarbage() { … }
void TestSupportingGC::ClearOutOldGarbage() { … }
CompactionTestDriver::CompactionTestDriver(ThreadState* thread_state)
: … { … }
void CompactionTestDriver::ForceCompactionForNextGC() { … }
IncrementalMarkingTestDriver::IncrementalMarkingTestDriver(
ThreadState* thread_state)
: … { … }
IncrementalMarkingTestDriver::~IncrementalMarkingTestDriver() { … }
void IncrementalMarkingTestDriver::StartGC() { … }
void IncrementalMarkingTestDriver::TriggerMarkingSteps(
ThreadState::StackState stack_state) { … }
void IncrementalMarkingTestDriver::FinishGC() { … }
ConcurrentMarkingTestDriver::ConcurrentMarkingTestDriver(
ThreadState* thread_state)
: … { … }
void ConcurrentMarkingTestDriver::StartGC() { … }
void ConcurrentMarkingTestDriver::TriggerMarkingSteps(
ThreadState::StackState stack_state) { … }
void ConcurrentMarkingTestDriver::FinishGC() { … }
}