Home
last modified time | relevance | path

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

123

/external/v8/src/objects/
Dallocation-site-inl.h22 OBJECT_CONSTRUCTORS_IMPL(AllocationSite, Struct) in OBJECT_CONSTRUCTORS_IMPL() argument
24 NEVER_READ_ONLY_SPACE_IMPL(AllocationSite) in OBJECT_CONSTRUCTORS_IMPL()
26 CAST_ACCESSOR(AllocationSite) in OBJECT_CONSTRUCTORS_IMPL()
28 ACCESSORS(AllocationSite, transition_info_or_boilerplate, Object, in OBJECT_CONSTRUCTORS_IMPL()
30 ACCESSORS(AllocationSite, nested_site, Object, kNestedSiteOffset) in OBJECT_CONSTRUCTORS_IMPL()
31 INT32_ACCESSORS(AllocationSite, pretenure_data, kPretenureDataOffset) in OBJECT_CONSTRUCTORS_IMPL()
32 INT32_ACCESSORS(AllocationSite, pretenure_create_count, in OBJECT_CONSTRUCTORS_IMPL()
34 ACCESSORS(AllocationSite, dependent_code, DependentCode, kDependentCodeOffset) in OBJECT_CONSTRUCTORS_IMPL()
35 ACCESSORS_CHECKED(AllocationSite, weak_next, Object, kWeakNextOffset, in OBJECT_CONSTRUCTORS_IMPL()
39 JSObject AllocationSite::boilerplate() const { in OBJECT_CONSTRUCTORS_IMPL()
[all …]
Dallocation-site-scopes.h22 Handle<AllocationSite> top() { return top_; } in top()
23 Handle<AllocationSite> current() { return current_; } in current()
30 void update_current_site(AllocationSite site) { current_.PatchValue(site); } in update_current_site()
32 inline void InitializeTraversal(Handle<AllocationSite> site);
36 Handle<AllocationSite> top_;
37 Handle<AllocationSite> current_;
44 AllocationSiteUsageContext(Isolate* isolate, Handle<AllocationSite> site, in AllocationSiteUsageContext()
50 inline Handle<AllocationSite> EnterNewScope();
52 inline void ExitScope(Handle<AllocationSite> scope_site,
60 Handle<AllocationSite> top_site_;
Dallocation-site-scopes-inl.h15 void AllocationSiteContext::InitializeTraversal(Handle<AllocationSite> site) { in InitializeTraversal()
19 current_ = Handle<AllocationSite>::New(*top_, isolate()); in InitializeTraversal()
22 Handle<AllocationSite> AllocationSiteUsageContext::EnterNewScope() { in EnterNewScope()
29 update_current_site(AllocationSite::cast(nested_site)); in EnterNewScope()
31 return Handle<AllocationSite>(*current(), isolate()); in EnterNewScope()
34 void AllocationSiteUsageContext::ExitScope(Handle<AllocationSite> scope_site, in ExitScope()
42 if (activated_ && AllocationSite::CanTrack(object->map().instance_type())) { in ShouldCreateMemento()
44 AllocationSite::ShouldTrack(object->GetElementsKind())) { in ShouldCreateMemento()
Dallocation-site.h21 class AllocationSite : public Struct {
128 static bool DigestTransitionFeedback(Handle<AllocationSite> site,
131 DECL_PRINTER(AllocationSite)
132 DECL_VERIFIER(AllocationSite)
134 DECL_CAST(AllocationSite)
164 OBJECT_CONSTRUCTORS(AllocationSite, Struct);
173 inline AllocationSite GetAllocationSite() const;
Dallocation-site.tq5 extern class AllocationSite extends Struct;
9 allocation_site: AllocationSite;
Dobjects-body-descriptors-inl.h296 class AllocationSite::BodyDescriptor final : public BodyDescriptorBase {
298 STATIC_ASSERT(AllocationSite::kCommonPointerFieldEndOffset ==
299 AllocationSite::kPretenureDataOffset);
300 STATIC_ASSERT(AllocationSite::kPretenureDataOffset + kInt32Size ==
301 AllocationSite::kPretenureCreateCountOffset);
302 STATIC_ASSERT(AllocationSite::kPretenureCreateCountOffset + kInt32Size ==
303 AllocationSite::kWeakNextOffset);
306 if (offset >= AllocationSite::kStartOffset && in IsValidSlot()
307 offset < AllocationSite::kCommonPointerFieldEndOffset) { in IsValidSlot()
311 if (map.instance_size() == AllocationSite::kSizeWithWeakNext && in IsValidSlot()
[all …]
Dobjects-definitions.h180 V(_, ALLOCATION_SITE_TYPE, AllocationSite, WithWeakNext, allocation_site) \
181 V(_, ALLOCATION_SITE_TYPE, AllocationSite, WithoutWeakNext, \
Dobject-list-macros.h16 class AllocationSite; variable
82 V(AllocationSite) \
/external/v8/src/heap/
Dobjects-visiting.cc172 struct WeakListVisitor<AllocationSite> {
173 static void SetWeakNext(AllocationSite obj, Object next) { in SetWeakNext()
177 static Object WeakNext(AllocationSite obj) { return obj.weak_next(); } in WeakNext()
179 static HeapObject WeakNextHolder(AllocationSite obj) { return obj; } in WeakNextHolder()
181 static int WeakNextOffset() { return AllocationSite::kWeakNextOffset; } in WeakNextOffset()
183 static void VisitLiveObject(Heap*, AllocationSite, WeakObjectRetainer*) {} in VisitLiveObject()
185 static void VisitPhantomObject(Heap*, AllocationSite) {} in VisitPhantomObject()
215 template Object VisitWeakList<AllocationSite>(Heap* heap, Object list,
Dfactory.h418 Handle<AllocationSite> NewAllocationSite(bool with_weak_next);
443 Handle<AllocationSite> site);
506 Handle<AllocationSite> allocation_site = Handle<AllocationSite>::null());
512 Handle<AllocationSite> allocation_site = Handle<AllocationSite>::null());
519 Handle<AllocationSite> allocation_site = Handle<AllocationSite>::null());
963 Handle<AllocationSite> allocation_site);
1023 AllocationSite allocation_site);
Dfactory-inl.h58 Handle<AllocationSite> allocation_site) { in NewFastOrSlowJSObjectFromMap()
Dheap.cc884 AllocationSite site; in MergeAllocationSitePretenuringFeedback()
889 site = AllocationSite::cast(map_word.ToForwardingAddress()); in MergeAllocationSitePretenuringFeedback()
938 AllocationSite site, AllocationSite::PretenureDecision current_decision, in MakePretenureDecision()
942 if ((current_decision == AllocationSite::kUndecided || in MakePretenureDecision()
943 current_decision == AllocationSite::kMaybeTenure)) { in MakePretenureDecision()
944 if (ratio >= AllocationSite::kPretenureRatio) { in MakePretenureDecision()
949 site.set_pretenure_decision(AllocationSite::kTenure); in MakePretenureDecision()
954 site.set_pretenure_decision(AllocationSite::kMaybeTenure); in MakePretenureDecision()
956 site.set_pretenure_decision(AllocationSite::kDontTenure); in MakePretenureDecision()
962 inline bool DigestPretenuringFeedback(Isolate* isolate, AllocationSite site, in DigestPretenuringFeedback()
[all …]
/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.cc55 Handle<AllocationSite> current_site = site_context()->EnterNewScope(); in VisitElementOrProperty()
93 Handle<AllocationSite> site_to_pass; in StructureWalk()
228 inline void ExitScope(Handle<AllocationSite> scope_site, in ExitScope()
230 Handle<AllocationSite> EnterNewScope() { return Handle<AllocationSite>(); } in EnterNewScope()
231 Handle<AllocationSite> current() { in current()
233 return Handle<AllocationSite>(); in current()
249 Handle<AllocationSite> EnterNewScope() { in EnterNewScope()
250 Handle<AllocationSite> scope_site; in EnterNewScope()
255 scope_site = Handle<AllocationSite>(*top(), isolate()); in EnterNewScope()
278 void ExitScope(Handle<AllocationSite> scope_site, Handle<JSObject> object) { in ExitScope()
[all …]
Druntime-array.cc55 Handle<AllocationSite> site = type_info->IsAllocationSite() in RUNTIME_FUNCTION()
56 ? Handle<AllocationSite>::cast(type_info) in RUNTIME_FUNCTION()
57 : Handle<AllocationSite>::null(); in RUNTIME_FUNCTION()
112 Handle<AllocationSite> allocation_site; in RUNTIME_FUNCTION()
113 if (AllocationSite::ShouldTrack(to_kind)) { in RUNTIME_FUNCTION()
/external/v8/src/builtins/
Dbuiltins-array-gen.h78 base::Optional<TNode<AllocationSite>> allocation_site = base::nullopt);
83 base::Optional<TNode<AllocationSite>> allocation_site);
88 base::Optional<TNode<AllocationSite>> allocation_site);
Dic-callable.tq142 FeedbackVector, uintptr): AllocationSite;
148 ConstructArray(AllocationSite) {
168 if (Is<AllocationSite>(feedbackAsStrong)) {
170 goto ConstructArray(UnsafeCast<AllocationSite>(feedbackAsStrong));
Dbuiltins-constructor-gen.cc48 TVARIABLE(AllocationSite, allocation_site); in TF_BUILTIN()
81 TVARIABLE(AllocationSite, allocation_site); in TF_BUILTIN()
116 TVARIABLE(AllocationSite, allocation_site); in TF_BUILTIN()
389 TNode<AllocationSite> allocation_site = CAST(maybe_allocation_site); in CreateShallowArrayLiteral()
406 TVARIABLE(AllocationSite, allocation_site); in CreateEmptyArrayLiteral()
450 TNode<AllocationSite> allocation_site = CAST(maybe_allocation_site); in CreateShallowObjectLiteral()
Dbuiltins-array-gen.cc1663 base::Optional<TNode<AllocationSite>> allocation_site) { in CreateArrayDispatchNoArgument()
1701 base::Optional<TNode<AllocationSite>> allocation_site) { in CreateArrayDispatchSingleArgument()
1725 Signed(DecodeWord32<AllocationSite::ElementsKindBits>( in CreateArrayDispatchSingleArgument()
1729 AllocationSite::ElementsKindBits::encode(static_cast<ElementsKind>(1)); in CreateArrayDispatchSingleArgument()
1736 *allocation_site, AllocationSite::kTransitionInfoOrBoilerplateOffset, in CreateArrayDispatchSingleArgument()
1771 base::Optional<TNode<AllocationSite>> allocation_site) { in GenerateDispatchToArrayStub()
1859 ? base::Optional<TNode<AllocationSite>>(base::nullopt) in GenerateConstructor()
1878 AllocationSite::ShouldTrack(kind) && mode != DISABLE_ALLOCATION_SITES; in GenerateArrayNoArgumentConstructor()
1879 base::Optional<TNode<AllocationSite>> allocation_site = in GenerateArrayNoArgumentConstructor()
1881 ? Parameter<AllocationSite>(Descriptor::kAllocationSite) in GenerateArrayNoArgumentConstructor()
[all …]
Dbuiltins-dataview.cc91 JSObject::New(target, new_target, Handle<AllocationSite>::null())); in BUILTIN()
Dic.tq30 ConstructArray(AllocationSite) {
/external/v8/src/codegen/
Dcode-factory.cc421 if (override_mode == DONT_OVERRIDE && AllocationSite::ShouldTrack(kind)) { in ArrayNoArgumentConstructor()
431 !AllocationSite::ShouldTrack(kind)); in ArrayNoArgumentConstructor()
455 if (override_mode == DONT_OVERRIDE && AllocationSite::ShouldTrack(kind)) { in ArraySingleArgumentConstructor()
465 !AllocationSite::ShouldTrack(kind)); in ArraySingleArgumentConstructor()
/external/v8/src/snapshot/
Ddeserializer.h96 const std::vector<Handle<AllocationSite>>& new_allocation_sites() const { in new_allocation_sites()
220 std::vector<Handle<AllocationSite>> new_allocation_sites_;
Dobject-deserializer.cc88 for (Handle<AllocationSite> site : new_allocation_sites()) { in LinkAllocationSites()
/external/v8/src/compiler/
Dcompilation-dependencies.cc322 DCHECK(AllocationSite::ShouldTrack(kind_)); in ElementsKindDependency()
329 Handle<AllocationSite> site = site_.object(); in IsValid()
507 if (AllocationSite::ShouldTrack(kind)) { in DependOnElementsKind()

123