#include "src/handles/persistent-handles.h"
#include "src/api/api.h"
#include "src/heap/heap-inl.h"
#include "src/heap/safepoint.h"
#include "src/utils/allocation.h"
namespace v8 {
namespace internal {
PersistentHandles::PersistentHandles(Isolate* isolate)
: … { … }
PersistentHandles::~PersistentHandles() { … }
#ifdef DEBUG
void PersistentHandles::Attach(LocalHeap* local_heap) { … }
void PersistentHandles::Detach() { … }
void PersistentHandles::CheckOwnerIsNotParked() { … }
bool PersistentHandles::Contains(Address* location) { … }
#endif
void PersistentHandles::AddBlock() { … }
Address* PersistentHandles::GetHandle(Address value) { … }
void PersistentHandles::Iterate(RootVisitor* visitor) { … }
void PersistentHandlesList::Add(PersistentHandles* persistent_handles) { … }
void PersistentHandlesList::Remove(PersistentHandles* persistent_handles) { … }
void PersistentHandlesList::Iterate(RootVisitor* visitor, Isolate* isolate) { … }
PersistentHandlesScope::PersistentHandlesScope(Isolate* isolate)
: … { … }
PersistentHandlesScope::~PersistentHandlesScope() { … }
std::unique_ptr<PersistentHandles> PersistentHandlesScope::Detach() { … }
bool PersistentHandlesScope::IsActive(Isolate* isolate) { … }
}
}