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