Definition at line 6142 of file app_snapshot.cc.
◆ WeakPropertySerializationCluster()
dart::WeakPropertySerializationCluster::WeakPropertySerializationCluster |
( |
| ) |
|
|
inline |
Definition at line 6144 of file app_snapshot.cc.
6146 kWeakPropertyCid,
SerializationCluster(const char *name, intptr_t cid, intptr_t target_instance_size=kSizeVaries, bool is_canonical=false)
static word InstanceSize()
◆ ~WeakPropertySerializationCluster()
dart::WeakPropertySerializationCluster::~WeakPropertySerializationCluster |
( |
| ) |
|
|
inline |
◆ RetraceEphemerons()
void dart::WeakPropertySerializationCluster::RetraceEphemerons |
( |
Serializer * |
s | ) |
|
|
inline |
Definition at line 6157 of file app_snapshot.cc.
6157 {
6158 for (intptr_t
i = 0;
i < objects_.
length();
i++) {
6159 WeakPropertyPtr
property = objects_[
i];
6160 if (
s->IsReachable(property->untag()->key())) {
6161 s->Push(property->untag()->value());
6162 }
6163 }
6164 }
◆ Trace()
◆ WriteAlloc()
void dart::WeakPropertySerializationCluster::WriteAlloc |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
◆ WriteFill()
void dart::WeakPropertySerializationCluster::WriteFill |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
Implements dart::SerializationCluster.
Definition at line 6175 of file app_snapshot.cc.
6175 {
6177 for (intptr_t
i = 0;
i <
count;
i++) {
6178 WeakPropertyPtr
property = objects_[
i];
6180 if (
s->HasRef(property->untag()->key())) {
6182 s->WriteOffsetRef(property->untag()->value(),
6184 } else {
6187 }
6188 }
6189 }
#define AutoTraceObject(obj)
static intptr_t key_offset()
static intptr_t value_offset()
The documentation for this class was generated from the following file: