chromium/v8/src/heap/cppgc/process-heap.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/process-heap.h"

#include <algorithm>
#include <vector>

#include "src/base/lazy-instance.h"
#include "src/base/logging.h"
#include "src/base/platform/mutex.h"
#include "src/heap/cppgc/heap-base.h"
#include "src/heap/cppgc/page-memory.h"

namespace cppgc {
namespace internal {

v8::base::LazyMutex g_process_mutex =;

namespace {

v8::base::LazyMutex g_heap_registry_mutex =;

HeapRegistry::Storage& GetHeapRegistryStorage() {}

}  // namespace

// static
void HeapRegistry::RegisterHeap(HeapBase& heap) {}

// static
void HeapRegistry::UnregisterHeap(HeapBase& heap) {}

// static
HeapBase* HeapRegistry::TryFromManagedPointer(const void* needle) {}

// static
const HeapRegistry::Storage& HeapRegistry::GetRegisteredHeapsForTesting() {}

}  // namespace internal
}  // namespace cppgc