chromium/v8/src/heap/cppgc/prefinalizer-handler.cc

// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/heap/cppgc/prefinalizer-handler.h"

#include <algorithm>
#include <memory>

#include "src/base/platform/platform.h"
#include "src/heap/cppgc/heap-page.h"
#include "src/heap/cppgc/heap.h"
#include "src/heap/cppgc/liveness-broker.h"
#include "src/heap/cppgc/stats-collector.h"

namespace cppgc {
namespace internal {

PrefinalizerRegistration::PrefinalizerRegistration(void* object,
                                                   Callback callback) {}

bool PreFinalizer::operator==(const PreFinalizer& other) const {}

PreFinalizerHandler::PreFinalizerHandler(HeapBase& heap)
    :{}

void PreFinalizerHandler::RegisterPrefinalizer(PreFinalizer pre_finalizer) {}

void PreFinalizerHandler::InvokePreFinalizers() {}

bool PreFinalizerHandler::CurrentThreadIsCreationThread() {}

void PreFinalizerHandler::NotifyAllocationInPrefinalizer(size_t size) {}

}  // namespace internal
}  // namespace cppgc