|
V8 Project
|
#include <serialize.h>
Inheritance diagram for v8::internal::PartialSerializer:
Collaboration diagram for v8::internal::PartialSerializer:Public Member Functions | |
| PartialSerializer (Isolate *isolate, Serializer *startup_snapshot_serializer, SnapshotByteSink *sink) | |
| void | Serialize (Object **o) |
| virtual void | SerializeObject (Object *o, HowToCode how_to_code, WhereToPoint where_to_point, int skip) |
Public Member Functions inherited from v8::internal::Serializer | |
| Serializer (Isolate *isolate, SnapshotByteSink *sink) | |
| ~Serializer () | |
| void | VisitPointers (Object **start, Object **end) |
| int | CurrentAllocationAddress (int space) const |
| Isolate * | isolate () const |
| SerializationAddressMapper * | address_mapper () |
| void | PutRoot (int index, HeapObject *object, HowToCode how, WhereToPoint where, int skip) |
Private Member Functions | |
| int | PartialSnapshotCacheIndex (HeapObject *o) |
| bool | ShouldBeInThePartialSnapshotCache (HeapObject *o) |
| DISALLOW_COPY_AND_ASSIGN (PartialSerializer) | |
Private Attributes | |
| Serializer * | startup_serializer_ |
Definition at line 507 of file serialize.h.
|
inline |
Definition at line 509 of file serialize.h.
References v8::internal::Serializer::InitializeCodeAddressMap(), v8::internal::Heap::kStrongRootListLength, and v8::internal::Serializer::set_root_index_wave_front().
Here is the call graph for this function:
|
private |
|
private |
Definition at line 1313 of file serialize.cc.
References DCHECK, v8::internal::Serializer::isolate(), v8::internal::Isolate::PushToPartialSnapshotCache(), and startup_serializer_.
Referenced by SerializeObject().
Here is the call graph for this function:
Here is the caller graph for this function:| void v8::internal::PartialSerializer::Serialize | ( | Object ** | o | ) |
Definition at line 1248 of file serialize.cc.
References v8::internal::Serializer::Pad().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements v8::internal::Serializer.
Definition at line 1456 of file serialize.cc.
References v8::internal::Serializer::address_mapper(), v8::internal::Serializer::address_mapper_, CHECK, DCHECK, v8::internal::HeapObject::GetHeap(), v8::internal::SerializationAddressMapper::IsMapped(), v8::internal::Serializer::kInvalidRootIndex, v8::internal::SerializerDeserializer::kPartialSnapshotCache, v8::internal::SerializerDeserializer::kSkip, PartialSnapshotCacheIndex(), v8::internal::SnapshotByteSink::Put(), v8::internal::SnapshotByteSink::PutInt(), v8::internal::Serializer::PutRoot(), v8::internal::Serializer::RootIndex(), v8::internal::Serializer::ObjectSerializer::Serialize(), v8::internal::Serializer::SerializeReferenceToPreviousObject(), ShouldBeInThePartialSnapshotCache(), v8::internal::Serializer::sink_, and startup_serializer_.
Here is the call graph for this function:
|
inlineprivate |
Definition at line 527 of file serialize.h.
References DCHECK, v8::internal::Isolate::heap(), v8::internal::Serializer::isolate(), v8::internal::HeapObject::map(), and startup_serializer_.
Referenced by SerializeObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 541 of file serialize.h.
Referenced by PartialSnapshotCacheIndex(), SerializeObject(), and ShouldBeInThePartialSnapshotCache().