Definition at line 6526 of file app_snapshot.cc.
◆ WeakArraySerializationCluster()
dart::WeakArraySerializationCluster::WeakArraySerializationCluster |
( |
| ) |
|
|
inline |
Definition at line 6528 of file app_snapshot.cc.
static constexpr intptr_t kSizeVaries
SerializationCluster(const char *name, intptr_t cid, intptr_t target_instance_size=kSizeVaries, bool is_canonical=false)
◆ ~WeakArraySerializationCluster()
dart::WeakArraySerializationCluster::~WeakArraySerializationCluster |
( |
| ) |
|
|
inline |
◆ Trace()
◆ WriteAlloc()
void dart::WeakArraySerializationCluster::WriteAlloc |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
Implements dart::SerializationCluster.
Definition at line 6542 of file app_snapshot.cc.
6542 {
6545 for (intptr_t
i = 0;
i <
count;
i++) {
6546 WeakArrayPtr array = objects_[
i];
6547 s->AssignRef(array);
6552 }
6553 }
#define AutoTraceObject(obj)
intptr_t target_memory_size_
static word InstanceSize()
◆ WriteFill()
void dart::WeakArraySerializationCluster::WriteFill |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
Implements dart::SerializationCluster.
Definition at line 6555 of file app_snapshot.cc.
6555 {
6557 for (intptr_t
i = 0;
i <
count;
i++) {
6558 WeakArrayPtr array = objects_[
i];
6562 for (intptr_t j = 0; j <
length; j++) {
6563 if (
s->HasRef(array->untag()->element(j))) {
6564 s->WriteElementRef(array->untag()->element(j), j);
6565 } else {
6567 }
6568 }
6569 }
6570 }
The documentation for this class was generated from the following file: