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

#include <heap-layout.h>

Inheritance diagram for v8::internal::HeapLayout:
Collaboration diagram for v8::internal::HeapLayout:

Static Public Member Functions

static V8_INLINE bool InReadOnlySpace (Tagged< HeapObject > object)
 
static V8_INLINE bool InYoungGeneration (Tagged< Object > object)
 
static V8_INLINE bool InYoungGeneration (Tagged< HeapObject > object)
 
static V8_INLINE bool InYoungGeneration (Tagged< MaybeObject > object)
 
static V8_INLINE bool InYoungGeneration (const HeapObjectLayout *object)
 
static V8_INLINE bool InYoungGeneration (const MemoryChunk *chunk, Tagged< HeapObject > object)
 
static V8_INLINE bool InWritableSharedSpace (Tagged< HeapObject > object)
 
static V8_INLINE bool InAnySharedSpace (Tagged< HeapObject > object)
 
static V8_INLINE bool InCodeSpace (Tagged< HeapObject > object)
 
static V8_INLINE bool InTrustedSpace (Tagged< HeapObject > object)
 
static V8_INLINE bool InBlackAllocatedPage (Tagged< HeapObject > object)
 
static V8_INLINE bool IsOwnedByAnyHeap (Tagged< HeapObject > object)
 
static bool IsSelfForwarded (Tagged< HeapObject > object)
 
static bool IsSelfForwarded (Tagged< HeapObject > object, PtrComprCageBase cage_base)
 
static bool IsSelfForwarded (Tagged< HeapObject > object, MapWord map_word)
 

Static Private Member Functions

static V8_EXPORT bool InYoungGenerationForStickyMarkbits (const MemoryChunk *chunk, Tagged< HeapObject > object)
 
static V8_EXPORT void CheckYoungGenerationConsistency (const MemoryChunk *chunk)
 

Detailed Description

Definition at line 22 of file heap-layout.h.

Member Function Documentation

◆ CheckYoungGenerationConsistency()

void v8::internal::HeapLayout::CheckYoungGenerationConsistency ( const MemoryChunk * chunk)
staticprivate

Definition at line 25 of file heap-layout.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InAnySharedSpace()

bool v8::internal::HeapLayout::InAnySharedSpace ( Tagged< HeapObject > object)
static

Definition at line 72 of file heap-layout-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InBlackAllocatedPage()

bool v8::internal::HeapLayout::InBlackAllocatedPage ( Tagged< HeapObject > object)
static

Definition at line 89 of file heap-layout-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InCodeSpace()

bool v8::internal::HeapLayout::InCodeSpace ( Tagged< HeapObject > object)
static

Definition at line 80 of file heap-layout-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InReadOnlySpace()

bool v8::internal::HeapLayout::InReadOnlySpace ( Tagged< HeapObject > object)
static

Definition at line 20 of file heap-layout-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InTrustedSpace()

bool v8::internal::HeapLayout::InTrustedSpace ( Tagged< HeapObject > object)
static

Definition at line 85 of file heap-layout-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InWritableSharedSpace()

bool v8::internal::HeapLayout::InWritableSharedSpace ( Tagged< HeapObject > object)
static

Definition at line 67 of file heap-layout-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InYoungGeneration() [1/5]

bool v8::internal::HeapLayout::InYoungGeneration ( const HeapObjectLayout * object)
static

Definition at line 62 of file heap-layout-inl.h.

Here is the call graph for this function:

◆ InYoungGeneration() [2/5]

bool v8::internal::HeapLayout::InYoungGeneration ( const MemoryChunk * chunk,
Tagged< HeapObject > object )
static

Definition at line 25 of file heap-layout-inl.h.

Here is the call graph for this function:

◆ InYoungGeneration() [3/5]

bool v8::internal::HeapLayout::InYoungGeneration ( Tagged< HeapObject > object)
static

Definition at line 57 of file heap-layout-inl.h.

Here is the call graph for this function:

◆ InYoungGeneration() [4/5]

bool v8::internal::HeapLayout::InYoungGeneration ( Tagged< MaybeObject > object)
static

Definition at line 51 of file heap-layout-inl.h.

Here is the call graph for this function:

◆ InYoungGeneration() [5/5]

bool v8::internal::HeapLayout::InYoungGeneration ( Tagged< Object > object)
static

Definition at line 43 of file heap-layout-inl.h.

Here is the call graph for this function:

◆ InYoungGenerationForStickyMarkbits()

bool v8::internal::HeapLayout::InYoungGenerationForStickyMarkbits ( const MemoryChunk * chunk,
Tagged< HeapObject > object )
staticprivate

Definition at line 16 of file heap-layout.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsOwnedByAnyHeap()

bool v8::internal::HeapLayout::IsOwnedByAnyHeap ( Tagged< HeapObject > object)
static

Definition at line 96 of file heap-layout-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsSelfForwarded() [1/3]

bool v8::internal::HeapLayout::IsSelfForwarded ( Tagged< HeapObject > object)
static

Definition at line 42 of file heap-layout.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsSelfForwarded() [2/3]

bool v8::internal::HeapLayout::IsSelfForwarded ( Tagged< HeapObject > object,
MapWord map_word )
static

Definition at line 53 of file heap-layout.cc.

Here is the call graph for this function:

◆ IsSelfForwarded() [3/3]

bool v8::internal::HeapLayout::IsSelfForwarded ( Tagged< HeapObject > object,
PtrComprCageBase cage_base )
static

Definition at line 47 of file heap-layout.cc.

Here is the call graph for this function:

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