/external/v8/src/ |
D | allocation-site-scopes.h | 23 Handle<AllocationSite> top() { return top_; } in top() 24 Handle<AllocationSite> current() { return current_; } in current() 31 void update_current_site(AllocationSite* site) { in update_current_site() 35 void InitializeTraversal(Handle<AllocationSite> site) { in InitializeTraversal() 39 current_ = Handle<AllocationSite>::New(*top_, isolate()); in InitializeTraversal() 44 Handle<AllocationSite> top_; 45 Handle<AllocationSite> current_; 53 AllocationSiteUsageContext(Isolate* isolate, Handle<AllocationSite> site, in AllocationSiteUsageContext() 59 inline Handle<AllocationSite> EnterNewScope() { in EnterNewScope() 66 update_current_site(AllocationSite::cast(nested_site)); in EnterNewScope() [all …]
|
D | objects-body-descriptors-inl.h | 153 class AllocationSite::BodyDescriptorImpl final : public BodyDescriptorBase { 155 STATIC_ASSERT(AllocationSite::kCommonPointerFieldEndOffset == 156 AllocationSite::kPretenureDataOffset); 157 STATIC_ASSERT(AllocationSite::kPretenureDataOffset + kInt32Size == 158 AllocationSite::kPretenureCreateCountOffset); 159 STATIC_ASSERT(AllocationSite::kPretenureCreateCountOffset + kInt32Size == 160 AllocationSite::kWeakNextOffset); 163 if (offset >= AllocationSite::kStartOffset && in IsValidSlot() 164 offset < AllocationSite::kCommonPointerFieldEndOffset) { in IsValidSlot() 169 map->instance_size() == AllocationSite::kSizeWithWeakNext && in IsValidSlot() [all …]
|
D | objects-inl.h | 476 CAST_ACCESSOR(AllocationSite) in CAST_ACCESSOR() 1005 bool AllocationSite::HasWeakNext() const { in HasWeakNext() 1009 void AllocationSite::Initialize() { in Initialize() 1020 bool AllocationSite::IsZombie() const { in IsZombie() 1024 bool AllocationSite::IsMaybeTenure() const { in IsMaybeTenure() 1028 bool AllocationSite::PretenuringDecisionMade() const { in PretenuringDecisionMade() 1033 void AllocationSite::MarkZombie() { in MarkZombie() 1039 ElementsKind AllocationSite::GetElementsKind() const { in GetElementsKind() 1044 void AllocationSite::SetElementsKind(ElementsKind kind) { in SetElementsKind() 1048 bool AllocationSite::CanInlineCall() const { in CanInlineCall() [all …]
|
D | code-factory.cc | 345 if (override_mode == DONT_OVERRIDE && AllocationSite::ShouldTrack(kind)) { in ArrayNoArgumentConstructor() 355 !AllocationSite::ShouldTrack(kind)); in ArrayNoArgumentConstructor() 381 if (override_mode == DONT_OVERRIDE && AllocationSite::ShouldTrack(kind)) { in ArraySingleArgumentConstructor() 391 !AllocationSite::ShouldTrack(kind)); in ArraySingleArgumentConstructor()
|
D | objects-definitions.h | 330 V(ALLOCATION_SITE, AllocationSite, WithWeakNext, allocation_site) \ 331 V(ALLOCATION_SITE, AllocationSite, WithoutWeakNext, \
|
D | objects.h | 687 class AllocationSite; variable 753 V(AllocationSite) \ 945 V(AllocationSite, ALLOCATION_SITE_TYPE) \ 2238 Handle<AllocationSite> site = Handle<AllocationSite>::null()); 3639 class AllocationSite : public Struct, public NeverReadOnlySpaceObject { 3751 static bool DigestTransitionFeedback(Handle<AllocationSite> site, 3754 DECL_PRINTER(AllocationSite) 3755 DECL_VERIFIER(AllocationSite) 3757 DECL_CAST(AllocationSite) 3796 DISALLOW_IMPLICIT_CONSTRUCTORS(AllocationSite); [all …]
|
/external/v8/src/heap/ |
D | objects-visiting.cc | 175 struct WeakListVisitor<AllocationSite> { 176 static void SetWeakNext(AllocationSite* obj, Object* next) { in SetWeakNext() 180 static Object* WeakNext(AllocationSite* obj) { return obj->weak_next(); } in WeakNext() 182 static HeapObject* WeakNextHolder(AllocationSite* obj) { return obj; } in WeakNextHolder() 184 static int WeakNextOffset() { return AllocationSite::kWeakNextOffset; } in WeakNextOffset() 186 static void VisitLiveObject(Heap*, AllocationSite*, WeakObjectRetainer*) {} in VisitLiveObject() 188 static void VisitPhantomObject(Heap*, AllocationSite*) {} in VisitPhantomObject() 195 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list,
|
D | factory.h | 474 Handle<AllocationSite> NewAllocationSite(bool with_weak_next); 498 Handle<AllocationSite> site); 588 Handle<AllocationSite> allocation_site = Handle<AllocationSite>::null()); 972 Handle<AllocationSite> allocation_site); 1025 AllocationSite* allocation_site);
|
D | heap.cc | 721 AllocationSite* site = nullptr; in MergeAllocationSitePretenuringFeedback() 726 site = AllocationSite::cast(map_word.ToForwardingAddress()); in MergeAllocationSitePretenuringFeedback() 790 AllocationSite* site, AllocationSite::PretenureDecision current_decision, in MakePretenureDecision() 794 if ((current_decision == AllocationSite::kUndecided || in MakePretenureDecision() 795 current_decision == AllocationSite::kMaybeTenure)) { in MakePretenureDecision() 796 if (ratio >= AllocationSite::kPretenureRatio) { in MakePretenureDecision() 801 site->set_pretenure_decision(AllocationSite::kTenure); in MakePretenureDecision() 806 site->set_pretenure_decision(AllocationSite::kMaybeTenure); in MakePretenureDecision() 808 site->set_pretenure_decision(AllocationSite::kDontTenure); in MakePretenureDecision() 814 inline bool DigestPretenuringFeedback(Isolate* isolate, AllocationSite* site, in DigestPretenuringFeedback() [all …]
|
D | mark-compact-inl.h | 30 AllocationSite* object) { in VisitAllocationSite() 31 int size = AllocationSite::BodyDescriptorWeak::SizeOf(map, object); in VisitAllocationSite() 32 AllocationSite::BodyDescriptorWeak::IterateBody(map, object, size, this); in VisitAllocationSite()
|
D | objects-visiting.h | 30 V(AllocationSite) \
|
D | object-stats.cc | 373 void RecordVirtualAllocationSiteDetails(AllocationSite* site); 460 AllocationSite* site) { in RecordVirtualAllocationSiteDetails() 703 AllocationSite* site = AllocationSite::cast(list); in CollectGlobalStatistics()
|
D | concurrent-marking.cc | 285 int VisitAllocationSite(Map* map, AllocationSite* object) { in VisitAllocationSite() 287 int size = AllocationSite::BodyDescriptorWeak::SizeOf(map, object); in VisitAllocationSite() 289 AllocationSite::BodyDescriptorWeak::IterateBody(map, object, size, this); in VisitAllocationSite()
|
D | heap-inl.h | 506 !AllocationSite::CanTrack(map->instance_type())) in UpdateAllocationSite() 516 (*pretenuring_feedback)[reinterpret_cast<AllocationSite*>(key)]++; in UpdateAllocationSite()
|
/external/compiler-rt/lib/asan/ |
D | asan_memory_profile.cc | 26 struct AllocationSite { struct 51 [](const AllocationSite &a, const AllocationSite &b) { in Print() 72 InternalMmapVector<AllocationSite> allocations_;
|
/external/v8/src/runtime/ |
D | runtime-literals.cc | 56 Handle<AllocationSite> current_site = site_context()->EnterNewScope(); in VisitElementOrProperty() 94 Handle<AllocationSite> site_to_pass; in StructureWalk() 223 inline void ExitScope(Handle<AllocationSite> scope_site, in ExitScope() 225 Handle<AllocationSite> EnterNewScope() { return Handle<AllocationSite>(); } in EnterNewScope() 226 Handle<AllocationSite> current() { in current() 228 return Handle<AllocationSite>(); in current() 244 Handle<AllocationSite> EnterNewScope() { in EnterNewScope() 245 Handle<AllocationSite> scope_site; in EnterNewScope() 250 scope_site = Handle<AllocationSite>(*top(), isolate()); in EnterNewScope() 272 void ExitScope(Handle<AllocationSite> scope_site, Handle<JSObject> object) { in ExitScope() [all …]
|
D | runtime-array.cc | 559 Handle<AllocationSite> site = type_info->IsAllocationSite() in RUNTIME_FUNCTION() 560 ? Handle<AllocationSite>::cast(type_info) in RUNTIME_FUNCTION() 561 : Handle<AllocationSite>::null(); in RUNTIME_FUNCTION() 616 Handle<AllocationSite> allocation_site; in RUNTIME_FUNCTION() 617 if (AllocationSite::ShouldTrack(to_kind)) { in RUNTIME_FUNCTION()
|
/external/v8/src/builtins/ |
D | builtins-array-gen.h | 121 TNode<AllocationSite> allocation_site = TNode<AllocationSite>()); 126 TNode<AllocationSite> allocation_site = TNode<AllocationSite>()); 131 TNode<AllocationSite> allocation_site = TNode<AllocationSite>());
|
D | builtins-constructor-gen.cc | 351 TNode<AllocationSite> allocation_site = CAST(maybe_allocation_site); in EmitCreateShallowArrayLiteral() 388 TVARIABLE(AllocationSite, allocation_site); in EmitCreateEmptyArrayLiteral() 436 TNode<AllocationSite> allocation_site = CAST(maybe_allocation_site); in EmitCreateShallowObjectLiteral()
|
/external/v8/src/compiler/ |
D | compilation-dependencies.cc | 132 return mode_ == site_.object<AllocationSite>()->GetPretenureMode(); in IsValid() 138 site_.isolate(), code, site_.object<AllocationSite>(), in Install() 238 DCHECK(AllocationSite::ShouldTrack(kind_)); in ElementsKindDependency() 245 Handle<AllocationSite> site = site_.object<AllocationSite>(); in IsValid() 255 site_.isolate(), code, site_.object<AllocationSite>(), in Install() 356 if (AllocationSite::ShouldTrack(kind)) { in DependOnElementsKind()
|
D | js-heap-broker.cc | 261 AllocationSiteData(JSHeapBroker* broker, Handle<AllocationSite> object_, in AllocationSiteData() 818 handle(object<AllocationSite>()->boilerplate(), broker()->isolate())); in IsFastLiteral() 992 BIMODAL_ACCESSOR(AllocationSite, Object, nested_site) in BIMODAL_ACCESSOR() argument 993 BIMODAL_ACCESSOR_C(AllocationSite, bool, CanInlineCall) in BIMODAL_ACCESSOR() 994 BIMODAL_ACCESSOR_C(AllocationSite, bool, PointsToLiteral) in BIMODAL_ACCESSOR() 995 BIMODAL_ACCESSOR_C(AllocationSite, ElementsKind, GetElementsKind) in BIMODAL_ACCESSOR() 996 BIMODAL_ACCESSOR_C(AllocationSite, PretenureFlag, GetPretenureMode) in BIMODAL_ACCESSOR() 1157 return JSObjectRef(broker(), handle(object<AllocationSite>()->boilerplate(), in boilerplate()
|
D | js-operator.h | 18 class AllocationSite; variable 460 explicit CreateArrayParameters(size_t arity, MaybeHandle<AllocationSite> site) in CreateArrayParameters() 464 MaybeHandle<AllocationSite> site() const { return site_; } in site() 468 MaybeHandle<AllocationSite> const site_; 717 const Operator* CreateArray(size_t arity, MaybeHandle<AllocationSite> site); in NON_EXPORTED_BASE()
|
D | js-heap-copy-reducer.cc | 33 Handle<AllocationSite> site; in Reduce()
|
/external/v8/src/snapshot/ |
D | serializer.cc | 586 next_ = AllocationSite::cast(object)->weak_next(); in UnlinkWeakNextScope() 587 AllocationSite::cast(object)->set_weak_next( in UnlinkWeakNextScope() 594 AllocationSite::cast(object_)->set_weak_next(next_, in ~UnlinkWeakNextScope()
|
D | deserializer.cc | 184 AllocationSite* site = AllocationSite::cast(obj); in PostProcessNewObject()
|