Flutter Engine
The Flutter Engine
|
Public Member Functions | |
SerializationCluster (const char *name, intptr_t cid, intptr_t target_instance_size=kSizeVaries, bool is_canonical=false) | |
virtual | ~SerializationCluster () |
virtual void | Trace (Serializer *serializer, ObjectPtr object)=0 |
virtual void | WriteAlloc (Serializer *serializer)=0 |
virtual void | WriteFill (Serializer *serializer)=0 |
void | WriteAndMeasureAlloc (Serializer *serializer) |
void | WriteAndMeasureFill (Serializer *serializer) |
const char * | name () const |
intptr_t | cid () const |
bool | is_canonical () const |
bool | is_immutable () const |
intptr_t | size () const |
intptr_t | num_objects () const |
intptr_t | target_memory_size () const |
Public Member Functions inherited from dart::ZoneAllocated | |
ZoneAllocated () | |
void * | operator new (size_t size) |
void * | operator new (size_t size, Zone *zone) |
void | operator delete (void *pointer) |
Static Public Attributes | |
static constexpr intptr_t | kSizeVaries = -1 |
Protected Attributes | |
const char *const | name_ |
const intptr_t | cid_ |
const intptr_t | target_instance_size_ |
const bool | is_canonical_ |
const bool | is_immutable_ |
intptr_t | size_ = 0 |
intptr_t | num_objects_ = 0 |
intptr_t | target_memory_size_ = 0 |
Definition at line 160 of file app_snapshot.cc.
|
inlineexplicit |
Definition at line 163 of file app_snapshot.cc.
|
inlinevirtual |
Definition at line 174 of file app_snapshot.cc.
|
inline |
Definition at line 191 of file app_snapshot.cc.
|
inline |
Definition at line 192 of file app_snapshot.cc.
|
inline |
Definition at line 193 of file app_snapshot.cc.
|
inline |
Definition at line 190 of file app_snapshot.cc.
|
inline |
Definition at line 195 of file app_snapshot.cc.
|
inline |
Definition at line 194 of file app_snapshot.cc.
|
inline |
Definition at line 204 of file app_snapshot.cc.
|
pure virtual |
Implemented in dart::ClassSerializationCluster, dart::TypeParametersSerializationCluster, dart::TypeArgumentsSerializationCluster, dart::PatchClassSerializationCluster, dart::FunctionSerializationCluster, dart::ClosureDataSerializationCluster, dart::FfiTrampolineDataSerializationCluster, dart::FieldSerializationCluster, dart::ScriptSerializationCluster, dart::LibrarySerializationCluster, dart::NamespaceSerializationCluster, dart::KernelProgramInfoSerializationCluster, dart::CodeSerializationCluster, dart::ObjectPoolSerializationCluster, dart::PcDescriptorsSerializationCluster, dart::CodeSourceMapSerializationCluster, dart::CompressedStackMapsSerializationCluster, dart::RODataSerializationCluster, dart::ExceptionHandlersSerializationCluster, dart::ContextSerializationCluster, dart::ContextScopeSerializationCluster, dart::UnlinkedCallSerializationCluster, dart::ICDataSerializationCluster, dart::MegamorphicCacheSerializationCluster, dart::SubtypeTestCacheSerializationCluster, dart::LoadingUnitSerializationCluster, dart::LanguageErrorSerializationCluster, dart::UnhandledExceptionSerializationCluster, dart::InstanceSerializationCluster, dart::LibraryPrefixSerializationCluster, dart::TypeSerializationCluster, dart::FunctionTypeSerializationCluster, dart::RecordTypeSerializationCluster, dart::TypeParameterSerializationCluster, dart::ClosureSerializationCluster, dart::MintSerializationCluster, dart::DoubleSerializationCluster, dart::Simd128SerializationCluster, dart::GrowableObjectArraySerializationCluster, dart::RecordSerializationCluster, dart::TypedDataSerializationCluster, dart::TypedDataViewSerializationCluster, dart::ExternalTypedDataSerializationCluster, dart::DeltaEncodedTypedDataSerializationCluster, dart::StackTraceSerializationCluster, dart::RegExpSerializationCluster, dart::WeakPropertySerializationCluster, dart::MapSerializationCluster, dart::SetSerializationCluster, dart::ArraySerializationCluster, dart::WeakArraySerializationCluster, dart::StringSerializationCluster, and dart::FakeSerializationCluster.
|
pure virtual |
Implemented in dart::ClassSerializationCluster, dart::TypeParametersSerializationCluster, dart::TypeArgumentsSerializationCluster, dart::PatchClassSerializationCluster, dart::FunctionSerializationCluster, dart::ClosureDataSerializationCluster, dart::FfiTrampolineDataSerializationCluster, dart::FieldSerializationCluster, dart::ScriptSerializationCluster, dart::LibrarySerializationCluster, dart::NamespaceSerializationCluster, dart::KernelProgramInfoSerializationCluster, dart::CodeSerializationCluster, dart::ObjectPoolSerializationCluster, dart::PcDescriptorsSerializationCluster, dart::CodeSourceMapSerializationCluster, dart::CompressedStackMapsSerializationCluster, dart::RODataSerializationCluster, dart::ExceptionHandlersSerializationCluster, dart::ContextSerializationCluster, dart::ContextScopeSerializationCluster, dart::UnlinkedCallSerializationCluster, dart::ICDataSerializationCluster, dart::MegamorphicCacheSerializationCluster, dart::SubtypeTestCacheSerializationCluster, dart::LoadingUnitSerializationCluster, dart::LanguageErrorSerializationCluster, dart::UnhandledExceptionSerializationCluster, dart::InstanceSerializationCluster, dart::LibraryPrefixSerializationCluster, dart::TypeSerializationCluster, dart::FunctionTypeSerializationCluster, dart::RecordTypeSerializationCluster, dart::TypeParameterSerializationCluster, dart::ClosureSerializationCluster, dart::MintSerializationCluster, dart::DoubleSerializationCluster, dart::Simd128SerializationCluster, dart::GrowableObjectArraySerializationCluster, dart::RecordSerializationCluster, dart::TypedDataSerializationCluster, dart::TypedDataViewSerializationCluster, dart::ExternalTypedDataSerializationCluster, dart::DeltaEncodedTypedDataSerializationCluster, dart::StackTraceSerializationCluster, dart::RegExpSerializationCluster, dart::WeakPropertySerializationCluster, dart::MapSerializationCluster, dart::SetSerializationCluster, dart::ArraySerializationCluster, dart::WeakArraySerializationCluster, dart::StringSerializationCluster, and dart::FakeSerializationCluster.
void dart::SerializationCluster::WriteAndMeasureAlloc | ( | Serializer * | serializer | ) |
Definition at line 902 of file app_snapshot.cc.
void dart::SerializationCluster::WriteAndMeasureFill | ( | Serializer * | serializer | ) |
Definition at line 928 of file app_snapshot.cc.
|
pure virtual |
Implemented in dart::ClassSerializationCluster, dart::TypeParametersSerializationCluster, dart::TypeArgumentsSerializationCluster, dart::PatchClassSerializationCluster, dart::FunctionSerializationCluster, dart::ClosureDataSerializationCluster, dart::FfiTrampolineDataSerializationCluster, dart::FieldSerializationCluster, dart::ScriptSerializationCluster, dart::LibrarySerializationCluster, dart::NamespaceSerializationCluster, dart::KernelProgramInfoSerializationCluster, dart::CodeSerializationCluster, dart::ObjectPoolSerializationCluster, dart::PcDescriptorsSerializationCluster, dart::CodeSourceMapSerializationCluster, dart::CompressedStackMapsSerializationCluster, dart::RODataSerializationCluster, dart::ExceptionHandlersSerializationCluster, dart::ContextSerializationCluster, dart::ContextScopeSerializationCluster, dart::UnlinkedCallSerializationCluster, dart::ICDataSerializationCluster, dart::MegamorphicCacheSerializationCluster, dart::SubtypeTestCacheSerializationCluster, dart::LoadingUnitSerializationCluster, dart::LanguageErrorSerializationCluster, dart::UnhandledExceptionSerializationCluster, dart::InstanceSerializationCluster, dart::LibraryPrefixSerializationCluster, dart::TypeSerializationCluster, dart::FunctionTypeSerializationCluster, dart::RecordTypeSerializationCluster, dart::TypeParameterSerializationCluster, dart::ClosureSerializationCluster, dart::MintSerializationCluster, dart::DoubleSerializationCluster, dart::Simd128SerializationCluster, dart::GrowableObjectArraySerializationCluster, dart::RecordSerializationCluster, dart::TypedDataSerializationCluster, dart::TypedDataViewSerializationCluster, dart::ExternalTypedDataSerializationCluster, dart::DeltaEncodedTypedDataSerializationCluster, dart::StackTraceSerializationCluster, dart::RegExpSerializationCluster, dart::WeakPropertySerializationCluster, dart::MapSerializationCluster, dart::SetSerializationCluster, dart::ArraySerializationCluster, dart::WeakArraySerializationCluster, dart::StringSerializationCluster, and dart::FakeSerializationCluster.
|
protected |
Definition at line 208 of file app_snapshot.cc.
|
protected |
Definition at line 210 of file app_snapshot.cc.
|
protected |
Definition at line 211 of file app_snapshot.cc.
|
staticconstexpr |
Definition at line 162 of file app_snapshot.cc.
|
protected |
Definition at line 207 of file app_snapshot.cc.
|
protected |
Definition at line 213 of file app_snapshot.cc.
|
protected |
Definition at line 212 of file app_snapshot.cc.
|
protected |
Definition at line 209 of file app_snapshot.cc.
|
protected |
Definition at line 214 of file app_snapshot.cc.