Searched refs:global_handles (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/v8/test/cctest/
H A Dtest-global-handles.cc90 GlobalHandles* global_handles = isolate->global_handles(); local
94 global_handles->Create(*isolate->factory()->NewFixedArray(1));
96 global_handles->Create(*isolate->factory()->NewFixedArray(1));
99 global_handles->Create(*isolate->factory()->NewFixedArray(1));
101 global_handles->Create(*isolate->factory()->NewFixedArray(1));
109 global_handles->AddObjectGroup(g1_objects, 2, &info1);
110 global_handles->AddObjectGroup(g2_objects, 2, &info2);
121 global_handles->IterateObjectGroups(&visitor, &CanSkipCallback);
145 global_handles
185 GlobalHandles* global_handles = isolate->global_handles(); local
280 GlobalHandles* global_handles = isolate->global_handles(); local
[all...]
H A Dtest-mark-compact.cc253 GlobalHandles* global_handles = CcTest::i_isolate()->global_handles(); local
259 global_handles->Create(heap->AllocateFixedArray(1).ToObjectChecked());
261 global_handles->Create(heap->AllocateFixedArray(1).ToObjectChecked());
263 global_handles->Create(heap->AllocateFixedArray(1).ToObjectChecked());
278 global_handles->Create(heap->AllocateFixedArray(1).ToObjectChecked());
280 global_handles->Create(heap->AllocateFixedArray(1).ToObjectChecked());
282 global_handles->Create(heap->AllocateFixedArray(1).ToObjectChecked());
296 Handle<Object> root = global_handles->Create(*g1s1); // make a root.
305 global_handles
384 GlobalHandles* global_handles = CcTest::i_isolate()->global_handles(); local
[all...]
H A Dtest-weakmaps.cc88 GlobalHandles* global_handles = isolate->global_handles(); local
96 key = global_handles->Create(*object);
98 CHECK(!global_handles->IsWeak(key.location()));
124 CHECK(global_handles->IsWeak(key.location()));
H A Dtest-weaksets.cc88 GlobalHandles* global_handles = isolate->global_handles(); local
96 key = global_handles->Create(*object);
98 CHECK(!global_handles->IsWeak(key.location()));
124 CHECK(global_handles->IsWeak(key.location()));
H A Dtest-heap.cc334 GlobalHandles* global_handles = isolate->global_handles(); local
347 h1 = global_handles->Create(*i);
348 h2 = global_handles->Create(*u);
349 h3 = global_handles->Create(*i);
350 h4 = global_handles->Create(*u);
389 GlobalHandles* global_handles = isolate->global_handles(); local
402 h1 = global_handles->Create(*i);
403 h2 = global_handles
431 GlobalHandles* global_handles = isolate->global_handles(); local
478 GlobalHandles* global_handles = isolate->global_handles(); local
3863 GlobalHandles* global_handles = isolate->global_handles(); local
[all...]
H A Dtest-api.cc3503 v8::internal::GlobalHandles* global_handles = local
3504 reinterpret_cast<v8::internal::Isolate*>(isolate)->global_handles();
3505 int initial_handle_count = global_handles->global_handles_count();
3514 CHECK_EQ(global_handles->global_handles_count(), initial_handle_count);
3520 CHECK_EQ(global_handles->global_handles_count(), initial_handle_count - 1);
3531 v8::internal::GlobalHandles* global_handles = local
3532 reinterpret_cast<v8::internal::Isolate*>(isolate)->global_handles();
3533 int initial_handle_count = global_handles->global_handles_count();
3544 CHECK_EQ(global_handles->global_handles_count(), initial_handle_count - 1);
3569 v8::internal::GlobalHandles* global_handles local
3653 v8::internal::GlobalHandles* global_handles = local
3715 v8::internal::GlobalHandles* global_handles = local
[all...]
H A Dtest-heap-profiler.cc2048 const v8::HeapGraphNode* global_handles = GetNode( local
2050 CHECK_NE(NULL, global_handles);
2051 return HasWeakEdge(global_handles);
/external/chromium_org/v8/src/
H A Dglobal-handles.cc305 explicit NodeBlock(GlobalHandles* global_handles, NodeBlock* next) argument
310 global_handles_(global_handles) {}
346 GlobalHandles* global_handles() { return global_handles_; }
366 return FindBlock()->global_handles();
382 GlobalHandles* global_handles = node_block->global_handles();
383 global_handles->isolate()->counters()->global_handles()->Increment();
384 global_handles->number_of_global_handles_++;
390 GlobalHandles* global_handles
[all...]
H A Dheap-profiler.cc171 heap()->isolate()->global_handles()->SetRetainedObjectInfo(id, info);
H A Dallocation-tracker.cc311 script->GetIsolate()->global_handles()->Create(script));
H A Ddebug.cc615 GlobalHandles* global_handles = isolate_->global_handles(); local
634 Handle<Script>::cast(global_handles->Create(*script));
715 GlobalHandles* global_handles = debug_info->GetIsolate()->global_handles(); local
716 debug_info_ = Handle<DebugInfo>::cast(global_handles->Create(debug_info));
842 isolate_->global_handles()->Create(*context));
2923 GlobalHandles* global_handles = isolate_->global_handles(); local
2933 event_listener_ = global_handles
[all...]
H A Dheap-snapshot-generator.cc2220 isolate->global_handles()->IterateAllRoots(&enumerator);
2348 List<ObjectGroup*>* groups = isolate->global_handles()->object_groups();
2360 isolate->global_handles()->RemoveObjectGroups();
2364 isolate->global_handles()->IterateAllRootsWithClassIds(&extractor);
2372 isolate->global_handles()->implicit_ref_groups();
2391 isolate->global_handles()->RemoveImplicitRefGroups();
H A Dcounters.h382 SC(global_handles, V8.GlobalHandles) \
H A Disolate.cc1298 Handle<JSObject>::cast(global_handles()->Create(*promise));
1310 global_handles()->Destroy(global_handle.location());
H A Disolate.h916 GlobalHandles* global_handles() { return global_handles_; } function in class:v8::internal::Isolate
H A Dapi.cc496 i::Handle<i::Object> result = isolate->global_handles()->Create(*obj);
5112 isolate->global_handles()->IterateAllRootsWithClassIds(&visitor_adapter);
5123 isolate->global_handles()->IterateAllRootsInNewSpaceWithClassIds(
6413 internal_isolate->global_handles()->SetObjectGroupId(
6421 internal_isolate->global_handles()->SetReferenceFromGroup(
6432 internal_isolate->global_handles()->SetReference(
H A Dserialize.cc1208 CHECK_EQ(0, isolate->global_handles()->NumberOfWeakHandles());
H A Druntime.cc10041 isolate->global_handles()->Create(*storage))),
10144 isolate_->global_handles()->Create(storage));
14130 Handle<Object> wrapper = isolate->global_handles()->Create(*local_object);
14226 Handle<Object> wrapper = isolate->global_handles()->Create(*local_object);
14332 Handle<Object> wrapper = isolate->global_handles()->Create(*local_object);
14438 Handle<Object> wrapper = isolate->global_handles()->Create(*local_object);
H A Dobjects.cc9742 Handle<Object> handle = isolate->global_handles()->Create(*result);
/external/chromium_org/v8/src/heap/
H A Dheap.cc607 if (FLAG_print_global_handles) isolate_->global_handles()->Print();
1101 isolate_->global_handles()->PostGarbageCollectionProcessing(collector);
1513 while (isolate()->global_handles()->IterateObjectGroups(
1517 isolate()->global_handles()->RemoveObjectGroups();
1518 isolate()->global_handles()->RemoveImplicitRefGroups();
1520 isolate_->global_handles()->IdentifyNewSpaceWeakIndependentHandles(
1522 isolate_->global_handles()->IterateNewSpaceWeakIndependentRoots(
4418 isolate_->global_handles()->PrintStats();
4784 isolate_->global_handles()->IterateStrongRoots(v);
4787 isolate_->global_handles()
[all...]
H A Dmark-compact.cc2090 isolate()->global_handles()->implicit_ref_groups();
2208 isolate()->global_handles()->IterateObjectGroups(
2330 heap()->isolate()->global_handles()->IdentifyWeakHandles(
2333 heap()->isolate()->global_handles()->IterateWeakRoots(&root_visitor);
2375 heap()->isolate()->global_handles()->RemoveObjectGroups();
2376 heap()->isolate()->global_handles()->RemoveImplicitRefGroups();

Completed in 1888 milliseconds