/external/v8/test/cctest/ |
H A D | test-mark-compact.cc | 313 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 D | test-weakmaps.cc | 71 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 D | test-heap.cc | 295 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 D | test-heap-profiler.cc | 1273 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 D | global-handles.cc | 87 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 D | debug.cc | 601 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 D | deoptimizer.cc | 1472 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 D | handles.cc | 361 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 D | profile-generator.cc | 52 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 D | v8-counters.h | 60 SC(global_handles, V8.GlobalHandles) \
|
H A D | mark-compact.cc | 2088 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 D | heap.cc | 423 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 D | isolate.h | 851 GlobalHandles* global_handles() { return global_handles_; } function in class:v8::internal::Isolate
|
H A D | api.cc | 610 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 D | bootstrapper.cc | 683 global_context_ = Handle<Context>::cast(isolate()->global_handles()->Create( 2307 Handle<Context>::cast(isolate->global_handles()->Create(*new_context));
|
H A D | liveobjectlist.cc | 2143 List<ObjectGroup*>* groups = isolate->global_handles()->object_groups(); 2207 isolate->global_handles()->IterateWeakRoots(&tracer);
|
H A D | serialize.cc | 1142 CHECK_EQ(0, isolate->global_handles()->NumberOfWeakHandles());
|
H A D | runtime.cc | 9311 isolate->global_handles()->Create(*storage))), 9399 isolate_->global_handles()->Destroy( 9405 isolate_->global_handles()->Create(storage));
|