v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
Public Types | |
enum | State { FREE, NORMAL, WEAK, PENDING, NEAR_DEATH } |
Static Public Member Functions | |
static Node * | FromLocation (Object **location) |
Definition at line 44 of file global-handles.cc.
enum State |
Enumerator | |
---|---|
FREE | |
NORMAL | |
WEAK | |
PENDING | |
NEAR_DEATH |
Definition at line 48 of file global-handles.cc.
|
inline |
Definition at line 62 of file global-handles.cc.
|
inline |
Definition at line 87 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::FREE, HeapProfiler::kPersistentHandleNoClassId, GlobalHandles::Node::NORMAL, v8::internal::NULL, and GlobalHandles::Node::object().
Referenced by GlobalHandles::Create().
|
inline |
Definition at line 162 of file global-handles.cc.
Referenced by GlobalHandles::Node::MakeWeak(), and GlobalHandles::Node::PostGarbageCollectionProcessing().
|
inline |
Definition at line 199 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::FREE, GlobalHandles::Node::IsWeakRetainer(), GlobalHandles::Node::NORMAL, v8::internal::NULL, and GlobalHandles::Node::set_parameter().
Referenced by GlobalHandles::ClearWeakness().
Definition at line 57 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::location(), and OFFSET_OF.
Referenced by GlobalHandles::AddImplicitReferences(), GlobalHandles::AddObjectGroup(), GlobalHandles::ClearWeakness(), GlobalHandles::Destroy(), GlobalHandles::GetWrapperClassId(), GlobalHandles::IsIndependent(), GlobalHandles::IsNearDeath(), GlobalHandles::IsWeak(), GlobalHandles::MakeWeak(), GlobalHandles::MarkIndependent(), and GlobalHandles::SetWrapperClassId().
Definition at line 115 of file global-handles.cc.
References GlobalHandles::Node::location().
Referenced by GlobalHandles::Create(), and GlobalHandles::Node::PostGarbageCollectionProcessing().
|
inline |
Definition at line 118 of file global-handles.cc.
References HeapProfiler::kPersistentHandleNoClassId.
|
inline |
Definition at line 78 of file global-handles.cc.
References ASSERT, and GlobalHandles::Node::FREE.
Referenced by GlobalHandles::NodeBlock::PutNodesOnFreeList().
|
inline |
Definition at line 159 of file global-handles.cc.
Referenced by GlobalHandles::Create(), GlobalHandles::IdentifyNewSpaceWeakIndependentHandles(), GlobalHandles::IterateNewSpaceWeakIndependentRoots(), and GlobalHandles::PostGarbageCollectionProcessing().
|
inline |
Definition at line 155 of file global-handles.cc.
Referenced by GlobalHandles::IdentifyNewSpaceWeakIndependentHandles(), GlobalHandles::IsIndependent(), GlobalHandles::IterateNewSpaceStrongAndDependentRoots(), GlobalHandles::IterateNewSpaceWeakIndependentRoots(), and GlobalHandles::PostGarbageCollectionProcessing().
|
inline |
Definition at line 130 of file global-handles.cc.
References GlobalHandles::Node::NEAR_DEATH, and GlobalHandles::Node::PENDING.
Referenced by GlobalHandles::IsNearDeath().
|
inline |
Definition at line 137 of file global-handles.cc.
References GlobalHandles::Node::FREE.
Referenced by GlobalHandles::PostGarbageCollectionProcessing().
|
inline |
Definition at line 139 of file global-handles.cc.
References GlobalHandles::Node::NORMAL.
Referenced by GlobalHandles::IterateNewSpaceStrongAndDependentRoots().
|
inline |
Definition at line 135 of file global-handles.cc.
References GlobalHandles::Node::WEAK.
Referenced by GlobalHandles::IdentifyNewSpaceWeakIndependentHandles(), and GlobalHandles::IsWeak().
|
inline |
Definition at line 141 of file global-handles.cc.
References GlobalHandles::Node::NEAR_DEATH, GlobalHandles::Node::PENDING, and GlobalHandles::Node::WEAK.
Referenced by GlobalHandles::Node::ClearWeakness(), GlobalHandles::IterateNewSpaceStrongAndDependentRoots(), GlobalHandles::IterateNewSpaceWeakIndependentRoots(), GlobalHandles::Node::MakeWeak(), and GlobalHandles::Node::Release().
|
inline |
Definition at line 114 of file global-handles.cc.
Referenced by GlobalHandles::Node::FromLocation(), GlobalHandles::Node::handle(), GlobalHandles::IdentifyNewSpaceWeakIndependentHandles(), GlobalHandles::IterateNewSpaceStrongAndDependentRoots(), and GlobalHandles::IterateNewSpaceWeakIndependentRoots().
|
inline |
Definition at line 184 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::callback(), GlobalHandles::Node::FREE, GlobalHandles::Node::IsWeakRetainer(), GlobalHandles::Node::set_parameter(), and GlobalHandles::Node::WEAK.
Referenced by GlobalHandles::MakeWeak().
|
inline |
Definition at line 151 of file global-handles.cc.
References ASSERT, and GlobalHandles::Node::FREE.
Referenced by GlobalHandles::MarkIndependent().
|
inline |
Definition at line 145 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::PENDING, and GlobalHandles::Node::WEAK.
Referenced by GlobalHandles::IdentifyNewSpaceWeakIndependentHandles().
|
inline |
Definition at line 175 of file global-handles.cc.
References ASSERT, and GlobalHandles::Node::FREE.
|
inline |
Definition at line 113 of file global-handles.cc.
Referenced by GlobalHandles::Node::Acquire(), and GlobalHandles::PostGarbageCollectionProcessing().
|
inline |
Definition at line 169 of file global-handles.cc.
References ASSERT, and GlobalHandles::Node::FREE.
Referenced by GlobalHandles::Node::PostGarbageCollectionProcessing(), and GlobalHandles::Node::set_parameter().
|
inline |
Definition at line 211 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::callback(), ExternalAsciiString::cast(), ExternalTwoByteString::cast(), GlobalHandles::Node::handle(), GlobalHandles::Node::NEAR_DEATH, v8::internal::NULL, GlobalHandles::Node::parameter(), GlobalHandles::Node::PENDING, GlobalHandles::Node::Release(), ExternalAsciiString::resource(), ExternalTwoByteString::resource(), GlobalHandles::Node::set_parameter(), and GlobalHandles::Node::state().
Referenced by GlobalHandles::PostGarbageCollectionProcessing().
|
inline |
Definition at line 98 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::FREE, and GlobalHandles::Node::IsWeakRetainer().
Referenced by GlobalHandles::Destroy(), and GlobalHandles::Node::PostGarbageCollectionProcessing().
|
inline |
Definition at line 158 of file global-handles.cc.
Referenced by GlobalHandles::Create(), and GlobalHandles::PostGarbageCollectionProcessing().
|
inline |
Definition at line 179 of file global-handles.cc.
References ASSERT, and GlobalHandles::Node::FREE.
|
inline |
Definition at line 165 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::FREE, and GlobalHandles::Node::parameter().
Referenced by GlobalHandles::Node::ClearWeakness(), GlobalHandles::Node::MakeWeak(), and GlobalHandles::Node::PostGarbageCollectionProcessing().
|
inline |
Definition at line 122 of file global-handles.cc.
Referenced by GlobalHandles::SetWrapperClassId().
|
inline |
Definition at line 128 of file global-handles.cc.
Referenced by GlobalHandles::Node::PostGarbageCollectionProcessing().
|
inline |
Definition at line 121 of file global-handles.cc.
Referenced by GlobalHandles::GetWrapperClassId().
Node* next_free |
Definition at line 272 of file global-handles.cc.
Referenced by GlobalHandles::Create().
void* parameter |
Definition at line 271 of file global-handles.cc.