v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
heap-visitor.h File Reference
Include dependency graph for heap-visitor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::internal::MaybeObjectSize
 
class  v8::internal::HeapVisitor< ConcreteVisitor >
 
class  v8::internal::ConcurrentHeapVisitor< ConcreteVisitor >
 
class  v8::internal::NewSpaceVisitor< ConcreteVisitor >
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define TYPED_VISITOR_ID_LIST(V)
 
#define TYPED_VISITOR_WITH_SLACK_ID_LIST(V)
 
#define VISITOR_IDS_WITH_READ_ONLY_MAPS_LIST(V)
 
#define FORWARD_DECLARE(TypeName)
 
#define VISIT(TypeName)
 
#define SAFE_STRING_TRANSITION_SOURCES(V)
 
#define UNSAFE_STRING_TRANSITION_SOURCES(V)
 
#define UNSAFE_STRING_TRANSITION_TARGETS(V)
 
#define VISIT_AS_LOCKED_STRING(VisitorId, TypeName)
 

Functions

template<class T >
Tagged< Objectv8::internal::VisitWeakList (Heap *heap, Tagged< Object > list, WeakObjectRetainer *retainer)
 

Macro Definition Documentation

◆ FORWARD_DECLARE

#define FORWARD_DECLARE ( TypeName)
Value:
class TypeName;

Definition at line 175 of file heap-visitor.h.

◆ SAFE_STRING_TRANSITION_SOURCES

#define SAFE_STRING_TRANSITION_SOURCES ( V)
Value:
V(SeqOneByteString, SeqOneByteString) \
V(SeqTwoByteString, SeqTwoByteString)
#define V(Name)

Definition at line 304 of file heap-visitor.h.

◆ TYPED_VISITOR_ID_LIST

#define TYPED_VISITOR_ID_LIST ( V)

Definition at line 47 of file heap-visitor.h.

◆ TYPED_VISITOR_WITH_SLACK_ID_LIST

#define TYPED_VISITOR_WITH_SLACK_ID_LIST ( V)
Value:
V(JSArrayBuffer) \
V(JSDataViewOrRabGsabDataView) \
V(JSDate) \
V(JSExternalObject) \
V(JSFinalizationRegistry) \
V(JSFunction) \
V(JSObject) \
V(JSRegExp) \
V(JSSynchronizationPrimitive) \
V(JSTypedArray) \
V(JSWeakCollection) \
V(JSWeakRef) \
IF_WASM(V, WasmGlobalObject) \
IF_WASM(V, WasmInstanceObject) \
IF_WASM(V, WasmMemoryObject) \
IF_WASM(V, WasmSuspendingObject) \
IF_WASM(V, WasmTableObject) \
IF_WASM(V, WasmTagObject)

Definition at line 107 of file heap-visitor.h.

◆ UNSAFE_STRING_TRANSITION_SOURCES

#define UNSAFE_STRING_TRANSITION_SOURCES ( V)
Value:
V(ExternalString, ExternalString) \
V(ConsString, ConsString) \
V(SlicedString, SlicedString)

Definition at line 310 of file heap-visitor.h.

◆ UNSAFE_STRING_TRANSITION_TARGETS

#define UNSAFE_STRING_TRANSITION_TARGETS ( V)
Value:
V(ShortcutCandidate, ConsString) \
V(ThinString, ThinString)
#define UNSAFE_STRING_TRANSITION_SOURCES(V)

Definition at line 316 of file heap-visitor.h.

◆ VISIT

#define VISIT ( TypeName)
Value:
V8_INLINE size_t Visit##TypeName(Tagged<Map> map, Tagged<TypeName> object, \
MaybeObjectSize maybe_object_size);
#define V8_INLINE
Definition v8config.h:500

Definition at line 254 of file heap-visitor.h.

◆ VISIT_AS_LOCKED_STRING

#define VISIT_AS_LOCKED_STRING ( VisitorId,
TypeName )
Value:
V8_INLINE size_t Visit##TypeName(Tagged<Map> map, Tagged<TypeName> object, \
MaybeObjectSize maybe_object_size);

Definition at line 332 of file heap-visitor.h.

◆ VISITOR_IDS_WITH_READ_ONLY_MAPS_LIST

#define VISITOR_IDS_WITH_READ_ONLY_MAPS_LIST ( V)

Definition at line 132 of file heap-visitor.h.