Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::FakeSerializationCluster Class Reference
Inheritance diagram for dart::FakeSerializationCluster:
dart::SerializationCluster dart::ZoneAllocated

Public Member Functions

 FakeSerializationCluster (const char *name, intptr_t num_objects, intptr_t size, intptr_t target_memory_size=0)
 
 ~FakeSerializationCluster ()
 
void Trace (Serializer *s, ObjectPtr object)
 
void WriteAlloc (Serializer *s)
 
void WriteFill (Serializer *s)
 
- Public Member Functions inherited from dart::SerializationCluster
 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)
 

Additional Inherited Members

- Static Public Attributes inherited from dart::SerializationCluster
static constexpr intptr_t kSizeVaries = -1
 
- Protected Attributes inherited from dart::SerializationCluster
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
 

Detailed Description

Definition at line 6784 of file app_snapshot.cc.

Constructor & Destructor Documentation

◆ FakeSerializationCluster()

dart::FakeSerializationCluster::FakeSerializationCluster ( const char *  name,
intptr_t  num_objects,
intptr_t  size,
intptr_t  target_memory_size = 0 
)
inline

Definition at line 6786 of file app_snapshot.cc.

6790 : SerializationCluster(name, -1) {
6792 size_ = size;
6794 }
const char * name() const
intptr_t target_memory_size() const
intptr_t num_objects() const
SerializationCluster(const char *name, intptr_t cid, intptr_t target_instance_size=kSizeVaries, bool is_canonical=false)

◆ ~FakeSerializationCluster()

dart::FakeSerializationCluster::~FakeSerializationCluster ( )
inline

Definition at line 6795 of file app_snapshot.cc.

6795{}

Member Function Documentation

◆ Trace()

void dart::FakeSerializationCluster::Trace ( Serializer s,
ObjectPtr  object 
)
inlinevirtual

Implements dart::SerializationCluster.

Definition at line 6797 of file app_snapshot.cc.

6797{ UNREACHABLE(); }
#define UNREACHABLE()
Definition: assert.h:248

◆ WriteAlloc()

void dart::FakeSerializationCluster::WriteAlloc ( Serializer s)
inlinevirtual

Implements dart::SerializationCluster.

Definition at line 6798 of file app_snapshot.cc.

6798{ UNREACHABLE(); }

◆ WriteFill()

void dart::FakeSerializationCluster::WriteFill ( Serializer s)
inlinevirtual

Implements dart::SerializationCluster.

Definition at line 6799 of file app_snapshot.cc.

6799{ UNREACHABLE(); }

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