v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::AllocationSiteWithWeakNext Class Reference

#include <allocation-site.h>

Inheritance diagram for v8::internal::AllocationSiteWithWeakNext:
Collaboration diagram for v8::internal::AllocationSiteWithWeakNext:

Public Member Functions

Tagged< UnionOf< Undefined, AllocationSiteWithWeakNext > > weak_next () const
 
void set_weak_next (Tagged< UnionOf< Undefined, AllocationSiteWithWeakNext > > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
- Public Member Functions inherited from v8::internal::AllocationSite
const char * PretenureDecisionName (PretenureDecision decision)
 
Tagged< UnionOf< Smi, JSObject > > transition_info_or_boilerplate () const
 
Tagged< JSObjectboilerplate () const
 
Tagged< JSObjectboilerplate (AcquireLoadTag tag) const
 
void set_boilerplate (Tagged< JSObject > value, ReleaseStoreTag, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
int transition_info () const
 
void set_transition_info (int value)
 
Tagged< UnionOf< Smi, AllocationSite > > nested_site () const
 
void set_nested_site (Tagged< UnionOf< Smi, AllocationSite > > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
int32_t pretenure_data (RelaxedLoadTag) const
 
void set_pretenure_data (int32_t value, RelaxedStoreTag)
 
int32_t pretenure_create_count () const
 
void set_pretenure_create_count (int32_t value)
 
Tagged< DependentCodedependent_code () const
 
void set_dependent_code (Tagged< DependentCode > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
void Initialize ()
 
bool HasWeakNext () const
 
bool IsNested ()
 
int IncrementMementoFoundCount (int increment=1)
 
void IncrementMementoCreateCount ()
 
AllocationType GetAllocationType () const
 
void ResetPretenureDecision ()
 
PretenureDecision pretenure_decision () const
 
void set_pretenure_decision (PretenureDecision decision)
 
bool deopt_dependent_code () const
 
void set_deopt_dependent_code (bool deopt)
 
int memento_found_count () const
 
void set_memento_found_count (int count)
 
int memento_create_count () const
 
void set_memento_create_count (int count)
 
bool IsZombie () const
 
bool IsMaybeTenure () const
 
void MarkZombie ()
 
bool MakePretenureDecision (PretenureDecision current_decision, double ratio, bool maximum_size_scavenge)
 
bool DigestPretenuringFeedback (bool maximum_size_scavenge)
 
ElementsKind GetElementsKind () const
 
void SetElementsKind (ElementsKind kind)
 
bool CanInlineCall () const
 
void SetDoNotInlineCall ()
 
bool PointsToLiteral () const
 
- Public Member Functions inherited from v8::internal::HeapObjectLayout
 HeapObjectLayout ()=delete
 
Tagged< Mapmap () const
 
Tagged< Mapmap (AcquireLoadTag) const
 
MapWord map_word (RelaxedLoadTag) const
 
void set_map (Isolate *isolate, Tagged< Map > value)
 
template<typename IsolateT >
void set_map (IsolateT *isolate, Tagged< Map > value, ReleaseStoreTag)
 
template<typename IsolateT >
void set_map_safe_transition (IsolateT *isolate, Tagged< Map > value, ReleaseStoreTag)
 
void set_map_safe_transition_no_write_barrier (Isolate *isolate, Tagged< Map > value, RelaxedStoreTag=kRelaxedStore)
 
template<typename IsolateT >
void set_map_after_allocation (IsolateT *isolate, Tagged< Map > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
void set_map_no_write_barrier (Isolate *isolate, Tagged< Map > value, RelaxedStoreTag=kRelaxedStore)
 
void set_map_word_forwarded (Tagged< HeapObject > target_object, ReleaseStoreTag)
 
void set_map_word_forwarded (Tagged< HeapObject > target_object, RelaxedStoreTag)
 
Address ptr () const
 
Address address () const
 
ReadOnlyRoots EarlyGetReadOnlyRoots () const
 
int Size () const
 
V8_EXPORT_PRIVATE int SizeFromMap (Tagged< Map > map) const
 
WriteBarrierMode GetWriteBarrierMode (const DisallowGarbageCollection &promise)
 

Private Attributes

TaggedMember< UnionOf< Undefined, AllocationSiteWithWeakNext > > weak_next_
 

Friends

class CodeStubAssembler
 
class AllocationSite::BodyDescriptor
 
template<typename T >
struct WeakListVisitor
 
class V8HeapExplorer
 

Additional Inherited Members

- Public Types inherited from v8::internal::AllocationSite
enum  PretenureDecision {
  kUndecided = 0 , kDontTenure = 1 , kMaybeTenure = 2 , kTenure = 3 ,
  kZombie = 4 , kLastPretenureDecisionValue = kZombie
}
 
using ElementsKindBits = base::BitField<ElementsKind, 0, 6>
 
using DoNotInlineBit = base::BitField<bool, 6, 1>
 
using MementoFoundCountBits = base::BitField<int, 0, 26>
 
using PretenureDecisionBits = base::BitField<PretenureDecision, 26, 3>
 
using DeoptDependentCodeBit = base::BitField<bool, 29, 1>
 
- Static Public Member Functions inherited from v8::internal::AllocationSite
template<AllocationSiteUpdateMode update_or_check = AllocationSiteUpdateMode::kUpdate>
static bool DigestTransitionFeedback (DirectHandle< AllocationSite > site, ElementsKind to_kind)
 
static bool ShouldTrack (ElementsKind boilerplate_elements_kind)
 
static bool ShouldTrack (ElementsKind from, ElementsKind to)
 
static bool CanTrack (InstanceType type)
 
- Static Public Attributes inherited from v8::internal::AllocationSite
static NEVER_READ_ONLY_SPACE const uint32_t kMaximumArrayBytesToPretransition = 8 * 1024
 

Detailed Description

Definition at line 169 of file allocation-site.h.

Member Function Documentation

◆ set_weak_next()

void v8::internal::AllocationSiteWithWeakNext::set_weak_next ( Tagged< UnionOf< Undefined, AllocationSiteWithWeakNext > > value,
WriteBarrierMode mode = UPDATE_WRITE_BARRIER )
inline

Definition at line 227 of file allocation-site-inl.h.

◆ weak_next()

Tagged< UnionOf< Undefined, AllocationSiteWithWeakNext > > v8::internal::AllocationSiteWithWeakNext::weak_next ( ) const
inline

Definition at line 224 of file allocation-site-inl.h.

Friends And Related Symbol Documentation

◆ AllocationSite::BodyDescriptor

friend class AllocationSite::BodyDescriptor
friend

Definition at line 182 of file allocation-site.h.

◆ CodeStubAssembler

friend class CodeStubAssembler
friend

Definition at line 181 of file allocation-site.h.

◆ V8HeapExplorer

friend class V8HeapExplorer
friend

Definition at line 185 of file allocation-site.h.

◆ WeakListVisitor

template<typename T >
friend struct WeakListVisitor
friend

Definition at line 184 of file allocation-site.h.

Member Data Documentation

◆ weak_next_

TaggedMember<UnionOf<Undefined, AllocationSiteWithWeakNext> > v8::internal::AllocationSiteWithWeakNext::weak_next_
private

Definition at line 187 of file allocation-site.h.


The documentation for this class was generated from the following files: