v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
Go to the source code of this file.
Data Structures | |
class | TestRetainedObjectInfo |
class | TestObjectVisitor |
Functions | |
TEST (IterateObjectGroupsOldApi) | |
TEST (IterateObjectGroups) | |
TEST (ImplicitReferences) | |
TEST (EternalHandles) | |
TEST | ( | IterateObjectGroupsOldApi | ) |
Definition at line 87 of file test-global-handles.cc.
References List< T, P >::Add(), GlobalHandles::AddObjectGroup(), Heap::AllocateFixedArray(), ASSERT, List< T, P >::Contains(), GlobalHandles::Create(), Isolate::global_handles(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), CcTest::isolate(), GlobalHandles::IterateObjectGroups(), and TestObjectVisitor::visited.
TEST | ( | IterateObjectGroups | ) |
Definition at line 182 of file test-global-handles.cc.
References List< T, P >::Add(), Heap::AllocateFixedArray(), ASSERT, List< T, P >::Contains(), GlobalHandles::Create(), Isolate::global_handles(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), CcTest::isolate(), GlobalHandles::IterateObjectGroups(), GlobalHandles::SetObjectGroupId(), GlobalHandles::SetRetainedObjectInfo(), and TestObjectVisitor::visited.
TEST | ( | ImplicitReferences | ) |
Definition at line 277 of file test-global-handles.cc.
References Heap::AllocateFixedArray(), ASSERT, List< T, P >::at(), ImplicitRefGroup::children, GlobalHandles::Create(), Isolate::global_handles(), CcTest::heap(), CcTest::i_isolate(), GlobalHandles::implicit_ref_groups(), CcTest::InitializeVM(), CcTest::isolate(), ImplicitRefGroup::length, ImplicitRefGroup::parent, GlobalHandles::RemoveImplicitRefGroups(), GlobalHandles::RemoveObjectGroups(), GlobalHandles::SetObjectGroupId(), GlobalHandles::SetReferenceFromGroup(), and v8::internal::USE().
TEST | ( | EternalHandles | ) |
Definition at line 324 of file test-global-handles.cc.
References Handle< T >::Cast(), CHECK, CHECK_EQ, Heap::CollectAllAvailableGarbage(), EternalHandles::Create(), Isolate::eternal_handles(), EternalHandles::Get(), Eternal< T >::Get(), Isolate::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), Eternal< T >::IsEmpty(), Integer::New(), Object::New(), EternalHandles::NumberOfHandles(), Utils::OpenHandle(), Eternal< T >::Set(), and Utils::ToLocal().