chromium/third_party/blink/renderer/platform/heap/heap_test_utilities.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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() {}

}  // namespace

TestSupportingGC::~TestSupportingGC() {}

// static
void TestSupportingGC::PreciselyCollectGarbage() {}

// static
void TestSupportingGC::ConservativelyCollectGarbage() {}

// static
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() {}

}  // namespace blink