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

/external/v8/test/cctest/
H A Dtest-mark-compact.cc313 GlobalHandles* global_handles = Isolate::Current()->global_handles(); local
319 global_handles->Create(HEAP->AllocateFixedArray(1)->ToObjectChecked());
321 global_handles->Create(HEAP->AllocateFixedArray(1)->ToObjectChecked());
323 global_handles->Create(HEAP->AllocateFixedArray(1)->ToObjectChecked());
324 global_handles->MakeWeak(g1s1.location(),
327 global_handles->MakeWeak(g1s2.location(),
330 global_handles->MakeWeak(g1c1.location(),
335 global_handles->Create(HEAP->AllocateFixedArray(1)->ToObjectChecked());
337 global_handles
441 GlobalHandles* global_handles = Isolate::Current()->global_handles(); local
[all...]
H A Dtest-weakmaps.cc71 GlobalHandles* global_handles = Isolate::Current()->global_handles(); local
79 key = global_handles->Create(*object);
81 CHECK(!global_handles->IsWeak(key.location()));
100 global_handles->MakeWeak(key.location(),
104 CHECK(global_handles->IsWeak(key.location()));
H A Dtest-heap.cc295 GlobalHandles* global_handles = Isolate::Current()->global_handles(); local
308 h1 = global_handles->Create(*i);
309 h2 = global_handles->Create(*u);
310 h3 = global_handles->Create(*i);
311 h4 = global_handles->Create(*u);
323 global_handles->Destroy(h1.location());
324 global_handles->Destroy(h3.location());
327 global_handles->Destroy(h2.location());
328 global_handles
343 GlobalHandles* global_handles = Isolate::Current()->global_handles(); local
381 GlobalHandles* global_handles = Isolate::Current()->global_handles(); local
420 GlobalHandles* global_handles = Isolate::Current()->global_handles(); local
[all...]
H A Dtest-heap-profiler.cc1273 const v8::HeapGraphNode* global_handles = GetNode( local
1275 CHECK_NE(NULL, global_handles);
1276 return HasWeakEdge(global_handles);
1308 const v8::HeapGraphNode* global_handles = GetNode( local
1310 CHECK_NE(NULL, global_handles);
1312 global_handles, v8::HeapGraphNode::kHidden, "system / GlobalContext");
/external/v8/src/
H A Dglobal-handles.cc87 void Acquire(Object* object, GlobalHandles* global_handles) { argument
95 IncreaseBlockUses(global_handles);
98 void Release(GlobalHandles* global_handles) { argument
101 global_handles->number_of_weak_handles_--;
103 global_handles->number_of_global_object_weak_handles_--;
107 parameter_or_next_free_.next_free = global_handles->first_free_;
108 global_handles->first_free_ = this;
109 DecreaseBlockUses(global_handles);
184 void MakeWeak(GlobalHandles* global_handles, argument
189 global_handles
199 ClearWeakness(GlobalHandles* global_handles) argument
211 PostGarbageCollectionProcessing(Isolate* isolate, GlobalHandles* global_handles) argument
297 IncreaseUses(GlobalHandles* global_handles) argument
[all...]
H A Ddebug.cc601 GlobalHandles* global_handles = Isolate::Current()->global_handles(); local
615 (global_handles->Create(*script)));
616 global_handles->MakeWeak(
648 GlobalHandles* global_handles = Isolate::Current()->global_handles(); local
654 global_handles->ClearWeakness(location);
655 global_handles->Destroy(location);
716 GlobalHandles* global_handles = Isolate::Current()->global_handles(); local
2969 GlobalHandles* global_handles = isolate_->global_handles(); local
[all...]
H A Ddeoptimizer.cc1472 GlobalHandles* global_handles = Isolate::Current()->global_handles(); local
1474 code_ = Handle<Code>::cast(global_handles->Create(code));
1475 global_handles->MakeWeak(reinterpret_cast<Object**>(code_.location()),
1482 GlobalHandles* global_handles = Isolate::Current()->global_handles(); local
1483 global_handles->Destroy(reinterpret_cast<Object**>(code_.location()));
H A Dhandles.cc361 isolate->global_handles()->Destroy(cache.location());
383 Handle<Object> handle = isolate->global_handles()->Create(*result);
384 isolate->global_handles()->MakeWeak(handle.location(), NULL,
H A Dprofile-generator.cc52 isolate->global_handles()->ClearWeakness(token_locations_[i]);
53 isolate->global_handles()->Destroy(token_locations_[i]);
65 Handle<Object> handle = isolate->global_handles()->Create(token);
68 isolate->global_handles()->MakeWeak(handle.location(), this,
2602 isolate->global_handles()->IterateAllRoots(&enumerator);
2737 List<ObjectGroup*>* groups = isolate->global_handles()->object_groups();
2749 isolate->global_handles()->RemoveObjectGroups();
2753 isolate->global_handles()->IterateAllRootsWithClassIds(&extractor);
2760 isolate->global_handles()->implicit_ref_groups();
H A Dv8-counters.h60 SC(global_handles, V8.GlobalHandles) \
H A Dmark-compact.cc2088 heap()->isolate()->global_handles()->object_groups();
2136 heap()->isolate()->global_handles()->implicit_ref_groups();
2343 heap()->isolate()->global_handles()->IdentifyWeakHandles(
2346 heap()->isolate()->global_handles()->IterateWeakRoots(&root_visitor);
2382 heap()->isolate()->global_handles()->RemoveObjectGroups();
2383 heap()->isolate()->global_handles()->RemoveImplicitRefGroups();
H A Dheap.cc423 if (FLAG_print_global_handles) isolate_->global_handles()->Print();
875 isolate_->global_handles()->PostGarbageCollectionProcessing(collector);
1214 isolate_->global_handles()->IdentifyNewSpaceWeakIndependentHandles(
1216 isolate_->global_handles()->IterateNewSpaceWeakIndependentRoots(
5029 isolate_->global_handles()->PrintStats();
5521 isolate_->global_handles()->IterateStrongRoots(v);
5524 isolate_->global_handles()->IterateNewSpaceStrongAndDependentRoots(v);
5528 isolate_->global_handles()->IterateAllRoots(v);
5644 isolate_->global_handles()->RecordStats(stats);
6007 isolate_->global_handles()
[all...]
H A Disolate.h851 GlobalHandles* global_handles() { return global_handles_; } function in class:v8::internal::Isolate
H A Dapi.cc610 isolate->global_handles()->Create(*obj);
619 isolate->global_handles()->MakeWeak(object, parameters,
627 isolate->global_handles()->ClearWeakness(obj);
634 isolate->global_handles()->MarkIndependent(object);
658 isolate->global_handles()->Destroy(obj);
5184 isolate->global_handles()->AddObjectGroup(
5195 isolate->global_handles()->AddImplicitReferences(
6239 return isolate->global_handles()->NumberOfGlobalHandles();
H A Dbootstrapper.cc683 global_context_ = Handle<Context>::cast(isolate()->global_handles()->Create(
2307 Handle<Context>::cast(isolate->global_handles()->Create(*new_context));
H A Dliveobjectlist.cc2143 List<ObjectGroup*>* groups = isolate->global_handles()->object_groups();
2207 isolate->global_handles()->IterateWeakRoots(&tracer);
H A Dserialize.cc1142 CHECK_EQ(0, isolate->global_handles()->NumberOfWeakHandles());
H A Druntime.cc9311 isolate->global_handles()->Create(*storage))),
9399 isolate_->global_handles()->Destroy(
9405 isolate_->global_handles()->Create(storage));

Completed in 349 milliseconds