Home
last modified time | relevance | path

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

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