v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
Public Types | |
enum | State { FREE = 0, NORMAL, WEAK, PENDING, NEAR_DEATH } |
Static Public Member Functions | |
static Node * | FromLocation (Object **location) |
Definition at line 50 of file global-handles.cc.
enum State |
Enumerator | |
---|---|
FREE | |
NORMAL | |
WEAK | |
PENDING | |
NEAR_DEATH |
Definition at line 54 of file global-handles.cc.
|
inline |
Definition at line 68 of file global-handles.cc.
References ASSERT, Internals::kNodeClassIdOffset, Internals::kNodeFlagsOffset, Internals::kNodeIsIndependentShift, Internals::kNodeIsPartiallyDependentShift, Internals::kNodeStateIsNearDeathValue, Internals::kNodeStateIsPendingValue, Internals::kNodeStateIsWeakValue, Internals::kNodeStateMask, GlobalHandles::Node::NEAR_DEATH, OFFSET_OF, GlobalHandles::Node::PENDING, v8::internal::STATIC_ASSERT(), and GlobalHandles::Node::WEAK.
|
inline |
Definition at line 106 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::FREE, HeapProfiler::kPersistentHandleNoClassId, GlobalHandles::Node::NORMAL, v8::internal::NULL, GlobalHandles::Node::object(), GlobalHandles::Node::set_independent(), GlobalHandles::Node::set_partially_dependent(), GlobalHandles::Node::set_state(), and GlobalHandles::Node::state().
Referenced by GlobalHandles::Create().
|
inline |
Definition at line 204 of file global-handles.cc.
References GlobalHandles::Node::set_partially_dependent().
Referenced by GlobalHandles::PostGarbageCollectionProcessing().
|
inline |
Definition at line 238 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::FREE, GlobalHandles::Node::NORMAL, v8::internal::NULL, GlobalHandles::Node::parameter(), GlobalHandles::Node::set_parameter(), GlobalHandles::Node::set_state(), and GlobalHandles::Node::state().
Referenced by GlobalHandles::ClearWeakness().
Definition at line 63 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::location(), and OFFSET_OF.
Referenced by GlobalHandles::AddImplicitReferences(), GlobalHandles::AddObjectGroup(), GlobalHandles::ClearWeakness(), GlobalHandles::CopyGlobal(), GlobalHandles::Destroy(), GlobalHandles::IsIndependent(), GlobalHandles::IsNearDeath(), GlobalHandles::IsWeak(), GlobalHandles::MakeWeak(), GlobalHandles::MarkIndependent(), GlobalHandles::MarkPartiallyDependent(), GlobalHandles::SetReference(), and GlobalHandles::SetReferenceFromGroup().
|
inline |
Definition at line 387 of file global-handles.cc.
References GlobalHandles::NodeBlock::global_handles().
Referenced by GlobalHandles::CopyGlobal(), and GlobalHandles::Node::MarkPartiallyDependent().
Definition at line 133 of file global-handles.cc.
References GlobalHandles::Node::location().
Referenced by GlobalHandles::Create(), and GlobalHandles::Node::PostGarbageCollectionProcessing().
|
inline |
Definition at line 136 of file global-handles.cc.
References HeapProfiler::kPersistentHandleNoClassId.
Referenced by GlobalHandles::IterateAllRootsInNewSpaceWithClassIds().
|
inline |
Definition at line 97 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::FREE, GlobalHandles::Node::set_in_new_space_list(), and GlobalHandles::Node::set_state().
Referenced by GlobalHandles::NodeBlock::PutNodesOnFreeList().
|
inline |
Definition at line 165 of file global-handles.cc.
Referenced by GlobalHandles::Create(), GlobalHandles::IdentifyNewSpaceWeakIndependentHandles(), GlobalHandles::IterateNewSpaceWeakIndependentRoots(), and GlobalHandles::PostGarbageCollectionProcessing().
|
inline |
Definition at line 151 of file global-handles.cc.
Referenced by GlobalHandles::IdentifyNewSpaceWeakIndependentHandles(), GlobalHandles::IsIndependent(), GlobalHandles::IterateNewSpaceStrongAndDependentRoots(), GlobalHandles::IterateNewSpaceWeakIndependentRoots(), and GlobalHandles::PostGarbageCollectionProcessing().
|
inline |
|
inline |
Definition at line 172 of file global-handles.cc.
References GlobalHandles::Node::NEAR_DEATH, GlobalHandles::Node::PENDING, and GlobalHandles::Node::state().
Referenced by GlobalHandles::IsNearDeath().
|
inline |
Definition at line 179 of file global-handles.cc.
References GlobalHandles::Node::FREE, and GlobalHandles::Node::state().
Referenced by GlobalHandles::IterateAllRootsInNewSpaceWithClassIds(), and GlobalHandles::PostGarbageCollectionProcessing().
|
inline |
Definition at line 181 of file global-handles.cc.
References GlobalHandles::Node::NORMAL, and GlobalHandles::Node::state().
Referenced by GlobalHandles::IterateNewSpaceStrongAndDependentRoots().
|
inline |
Definition at line 177 of file global-handles.cc.
References GlobalHandles::Node::state(), and GlobalHandles::Node::WEAK.
Referenced by GlobalHandles::IdentifyNewSpaceWeakIndependentHandles(), and GlobalHandles::IsWeak().
|
inline |
Definition at line 183 of file global-handles.cc.
References GlobalHandles::Node::NEAR_DEATH, GlobalHandles::Node::PENDING, GlobalHandles::Node::state(), and GlobalHandles::Node::WEAK.
Referenced by GlobalHandles::IterateNewSpaceStrongAndDependentRoots(), and GlobalHandles::IterateNewSpaceWeakIndependentRoots().
|
inline |
Definition at line 132 of file global-handles.cc.
Referenced by GlobalHandles::Node::FromLocation(), GlobalHandles::Node::handle(), GlobalHandles::IdentifyNewSpaceWeakIndependentHandles(), GlobalHandles::IterateAllRootsInNewSpaceWithClassIds(), GlobalHandles::IterateNewSpaceStrongAndDependentRoots(), GlobalHandles::IterateNewSpaceWeakIndependentRoots(), and GlobalHandles::Node::PostGarbageCollectionProcessing().
|
inline |
Definition at line 230 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::FREE, v8::internal::NULL, GlobalHandles::Node::set_parameter(), GlobalHandles::Node::set_state(), GlobalHandles::Node::state(), and GlobalHandles::Node::WEAK.
Referenced by GlobalHandles::MakeWeak().
|
inline |
Definition at line 193 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::FREE, GlobalHandles::Node::set_independent(), and GlobalHandles::Node::state().
Referenced by GlobalHandles::MarkIndependent().
|
inline |
Definition at line 198 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::FREE, GlobalHandles::Node::GetGlobalHandles(), GlobalHandles::isolate(), GlobalHandles::Node::set_partially_dependent(), and GlobalHandles::Node::state().
Referenced by GlobalHandles::MarkPartiallyDependent().
|
inline |
Definition at line 187 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::PENDING, GlobalHandles::Node::set_state(), GlobalHandles::Node::state(), and GlobalHandles::Node::WEAK.
Referenced by GlobalHandles::IdentifyNewSpaceWeakIndependentHandles().
|
inline |
Definition at line 221 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::FREE, and GlobalHandles::Node::state().
|
inline |
Definition at line 131 of file global-handles.cc.
Referenced by GlobalHandles::Node::Acquire(), and GlobalHandles::PostGarbageCollectionProcessing().
|
inline |
Definition at line 215 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::FREE, and GlobalHandles::Node::state().
Referenced by GlobalHandles::Node::ClearWeakness(), GlobalHandles::Node::PostGarbageCollectionProcessing(), and GlobalHandles::Node::set_parameter().
|
inline |
Definition at line 246 of file global-handles.cc.
References ASSERT, ExternalAsciiString::cast(), ExternalTwoByteString::cast(), CHECK, GlobalHandles::Node::handle(), GlobalHandles::Node::location(), GlobalHandles::Node::NEAR_DEATH, v8::internal::NULL, GlobalHandles::Node::parameter(), GlobalHandles::Node::PENDING, GlobalHandles::Node::Release(), ExternalAsciiString::resource(), ExternalTwoByteString::resource(), GlobalHandles::Node::set_parameter(), GlobalHandles::Node::set_state(), GlobalHandles::Node::state(), and Utils::ToLocal().
Referenced by GlobalHandles::PostGarbageCollectionProcessing().
|
inline |
Definition at line 118 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::FREE, v8::internal::kGlobalHandleZapValue, HeapProfiler::kPersistentHandleNoClassId, v8::internal::NULL, GlobalHandles::Node::set_independent(), GlobalHandles::Node::set_partially_dependent(), GlobalHandles::Node::set_state(), and GlobalHandles::Node::state().
Referenced by GlobalHandles::Destroy(), and GlobalHandles::Node::PostGarbageCollectionProcessing().
|
inline |
Definition at line 168 of file global-handles.cc.
Referenced by GlobalHandles::Create(), GlobalHandles::Node::Initialize(), and GlobalHandles::PostGarbageCollectionProcessing().
|
inline |
Definition at line 154 of file global-handles.cc.
Referenced by GlobalHandles::Node::Acquire(), GlobalHandles::Node::MarkIndependent(), and GlobalHandles::Node::Release().
|
inline |
Definition at line 225 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::FREE, and GlobalHandles::Node::state().
|
inline |
Definition at line 211 of file global-handles.cc.
References ASSERT, GlobalHandles::Node::FREE, GlobalHandles::Node::parameter(), and GlobalHandles::Node::state().
Referenced by GlobalHandles::Node::ClearWeakness(), GlobalHandles::Node::MakeWeak(), and GlobalHandles::Node::PostGarbageCollectionProcessing().
|
inline |
Definition at line 161 of file global-handles.cc.
Referenced by GlobalHandles::Node::Acquire(), GlobalHandles::Node::clear_partially_dependent(), GlobalHandles::Node::MarkPartiallyDependent(), and GlobalHandles::Node::Release().
|
inline |
Definition at line 147 of file global-handles.cc.
Referenced by GlobalHandles::Node::Acquire(), GlobalHandles::Node::ClearWeakness(), GlobalHandles::Node::Initialize(), GlobalHandles::Node::MakeWeak(), GlobalHandles::Node::MarkPending(), GlobalHandles::Node::PostGarbageCollectionProcessing(), and GlobalHandles::Node::Release().
|
inline |
Definition at line 144 of file global-handles.cc.
Referenced by GlobalHandles::Node::Acquire(), GlobalHandles::Node::ClearWeakness(), GlobalHandles::Node::IsNearDeath(), GlobalHandles::Node::IsRetainer(), GlobalHandles::Node::IsStrongRetainer(), GlobalHandles::Node::IsWeak(), GlobalHandles::Node::IsWeakRetainer(), GlobalHandles::Node::MakeWeak(), GlobalHandles::Node::MarkIndependent(), GlobalHandles::Node::MarkPartiallyDependent(), GlobalHandles::Node::MarkPending(), GlobalHandles::Node::next_free(), GlobalHandles::Node::parameter(), GlobalHandles::Node::PostGarbageCollectionProcessing(), GlobalHandles::Node::Release(), GlobalHandles::Node::set_next_free(), and GlobalHandles::Node::set_parameter().
|
inline |
Definition at line 140 of file global-handles.cc.
Referenced by GlobalHandles::IterateAllRootsInNewSpaceWithClassIds().
Node* next_free |
Definition at line 316 of file global-handles.cc.
Referenced by GlobalHandles::Create().
void* parameter |
Definition at line 315 of file global-handles.cc.