Home
last modified time | relevance | path

Searched refs:AllocationSite (Results 1 – 25 of 45) sorted by relevance

12

/external/v8/src/
Dallocation-site-scopes.h23 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 …]
Dobjects-body-descriptors-inl.h153 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 …]
Dobjects-inl.h476 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 …]
Dcode-factory.cc345 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()
Dobjects-definitions.h330 V(ALLOCATION_SITE, AllocationSite, WithWeakNext, allocation_site) \
331 V(ALLOCATION_SITE, AllocationSite, WithoutWeakNext, \
Dobjects.h687 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/
Dobjects-visiting.cc175 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,
Dfactory.h474 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);
Dheap.cc721 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 …]
Dmark-compact-inl.h30 AllocationSite* object) { in VisitAllocationSite()
31 int size = AllocationSite::BodyDescriptorWeak::SizeOf(map, object); in VisitAllocationSite()
32 AllocationSite::BodyDescriptorWeak::IterateBody(map, object, size, this); in VisitAllocationSite()
Dobjects-visiting.h30 V(AllocationSite) \
Dobject-stats.cc373 void RecordVirtualAllocationSiteDetails(AllocationSite* site);
460 AllocationSite* site) { in RecordVirtualAllocationSiteDetails()
703 AllocationSite* site = AllocationSite::cast(list); in CollectGlobalStatistics()
Dconcurrent-marking.cc285 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()
Dheap-inl.h506 !AllocationSite::CanTrack(map->instance_type())) in UpdateAllocationSite()
516 (*pretenuring_feedback)[reinterpret_cast<AllocationSite*>(key)]++; in UpdateAllocationSite()
/external/compiler-rt/lib/asan/
Dasan_memory_profile.cc26 struct AllocationSite { struct
51 [](const AllocationSite &a, const AllocationSite &b) { in Print()
72 InternalMmapVector<AllocationSite> allocations_;
/external/v8/src/runtime/
Druntime-literals.cc56 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 …]
Druntime-array.cc559 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/
Dbuiltins-array-gen.h121 TNode<AllocationSite> allocation_site = TNode<AllocationSite>());
126 TNode<AllocationSite> allocation_site = TNode<AllocationSite>());
131 TNode<AllocationSite> allocation_site = TNode<AllocationSite>());
Dbuiltins-constructor-gen.cc351 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/
Dcompilation-dependencies.cc132 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()
Djs-heap-broker.cc261 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()
Djs-operator.h18 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()
Djs-heap-copy-reducer.cc33 Handle<AllocationSite> site; in Reduce()
/external/v8/src/snapshot/
Dserializer.cc586 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()
Ddeserializer.cc184 AllocationSite* site = AllocationSite::cast(obj); in PostProcessNewObject()

12