V8 Project
|
#include <snapshot.h>
Static Public Member Functions | |
static bool | Initialize (Isolate *isolate) |
static bool | HaveASnapshotToStartFrom () |
static Handle< Context > | NewContextFromSnapshot (Isolate *isolate) |
static const byte * | data () |
static int | size () |
static int | raw_size () |
static void | set_raw_data (const byte *raw_data) |
static const byte * | context_data () |
static int | context_size () |
static int | context_raw_size () |
static void | set_context_raw_data (const byte *context_raw_data) |
Private Member Functions | |
DISALLOW_IMPLICIT_CONSTRUCTORS (Snapshot) | |
Static Private Member Functions | |
static void | ReserveSpaceForLinkedInSnapshot (Deserializer *deserializer) |
Definition at line 13 of file snapshot.h.
|
inlinestatic |
Definition at line 31 of file snapshot.h.
References context_data_.
Referenced by v8::V8::GetCompressedStartupData().
|
inlinestatic |
Definition at line 33 of file snapshot.h.
References context_raw_size_.
Referenced by v8::V8::GetCompressedStartupData(), and v8::V8::SetDecompressedStartupData().
|
inlinestatic |
Definition at line 32 of file snapshot.h.
References context_size_.
Referenced by v8::V8::GetCompressedStartupData().
|
inlinestatic |
Definition at line 25 of file snapshot.h.
References data_.
Referenced by v8::V8::GetCompressedStartupData().
|
private |
|
static |
Definition at line 49 of file snapshot-common.cc.
References size_.
Referenced by v8::internal::Heap::ConfigureHeap(), and v8::internal::FullCodeGenerator::Initialize().
Definition at line 29 of file snapshot-common.cc.
References v8::internal::Isolate::Init(), v8::internal::PrintF(), raw_data_, raw_size_, ReserveSpaceForLinkedInSnapshot(), and size_.
Referenced by v8::Isolate::New().
Definition at line 54 of file snapshot-common.cc.
References v8::internal::Context::cast(), v8::internal::CELL_SPACE, CHECK, v8::internal::CODE_SPACE, context_cell_space_used_, context_code_space_used_, context_data_space_used_, context_lo_space_used_, context_map_space_used_, context_new_space_used_, context_pointer_space_used_, context_property_cell_space_used_, context_raw_data_, context_raw_size_, context_size_, v8::internal::Deserializer::DeserializePartial(), v8::internal::LO_SPACE, v8::internal::MAP_SPACE, v8::internal::NEW_SPACE, v8::internal::OLD_DATA_SPACE, v8::internal::OLD_POINTER_SPACE, v8::internal::PROPERTY_CELL_SPACE, and v8::internal::Deserializer::set_reservation().
|
inlinestatic |
Definition at line 27 of file snapshot.h.
References raw_size_.
Referenced by v8::V8::GetCompressedStartupData(), and v8::V8::SetDecompressedStartupData().
|
staticprivate |
Definition at line 17 of file snapshot-common.cc.
References v8::internal::CELL_SPACE, cell_space_used_, v8::internal::CODE_SPACE, code_space_used_, data_space_used_, v8::internal::LO_SPACE, lo_space_used_, v8::internal::MAP_SPACE, map_space_used_, v8::internal::NEW_SPACE, new_space_used_, v8::internal::OLD_DATA_SPACE, v8::internal::OLD_POINTER_SPACE, pointer_space_used_, v8::internal::PROPERTY_CELL_SPACE, property_cell_space_used_, and v8::internal::Deserializer::set_reservation().
Referenced by Initialize().
|
inlinestatic |
Definition at line 34 of file snapshot.h.
References context_raw_data_.
Referenced by v8::V8::SetDecompressedStartupData().
|
inlinestatic |
Definition at line 28 of file snapshot.h.
References raw_data_.
Referenced by v8::V8::SetDecompressedStartupData().
|
inlinestatic |
Definition at line 26 of file snapshot.h.
References size_.
Referenced by v8::V8::GetCompressedStartupData().
|
staticprivate |
Definition at line 49 of file snapshot.h.
Referenced by ReserveSpaceForLinkedInSnapshot().
|
staticprivate |
Definition at line 47 of file snapshot.h.
Referenced by ReserveSpaceForLinkedInSnapshot().
|
staticprivate |
Definition at line 57 of file snapshot.h.
Referenced by NewContextFromSnapshot().
|
staticprivate |
Definition at line 55 of file snapshot.h.
Referenced by NewContextFromSnapshot().
|
staticprivate |
Definition at line 42 of file snapshot.h.
Referenced by context_data().
|
staticprivate |
Definition at line 54 of file snapshot.h.
Referenced by NewContextFromSnapshot().
|
staticprivate |
Definition at line 59 of file snapshot.h.
Referenced by NewContextFromSnapshot().
|
staticprivate |
Definition at line 56 of file snapshot.h.
Referenced by NewContextFromSnapshot().
|
staticprivate |
Definition at line 52 of file snapshot.h.
Referenced by NewContextFromSnapshot().
|
staticprivate |
Definition at line 53 of file snapshot.h.
Referenced by NewContextFromSnapshot().
|
staticprivate |
Definition at line 58 of file snapshot.h.
Referenced by NewContextFromSnapshot().
Definition at line 43 of file snapshot.h.
Referenced by NewContextFromSnapshot(), and set_context_raw_data().
|
staticprivate |
Definition at line 63 of file snapshot.h.
Referenced by context_raw_size(), and NewContextFromSnapshot().
|
staticprivate |
Definition at line 62 of file snapshot.h.
Referenced by context_size(), and NewContextFromSnapshot().
|
staticprivate |
Definition at line 40 of file snapshot.h.
Referenced by data().
|
staticprivate |
Definition at line 46 of file snapshot.h.
Referenced by ReserveSpaceForLinkedInSnapshot().
|
staticprivate |
Definition at line 51 of file snapshot.h.
Referenced by ReserveSpaceForLinkedInSnapshot().
|
staticprivate |
Definition at line 48 of file snapshot.h.
Referenced by ReserveSpaceForLinkedInSnapshot().
|
staticprivate |
Definition at line 44 of file snapshot.h.
Referenced by ReserveSpaceForLinkedInSnapshot().
|
staticprivate |
Definition at line 45 of file snapshot.h.
Referenced by ReserveSpaceForLinkedInSnapshot().
|
staticprivate |
Definition at line 50 of file snapshot.h.
Referenced by ReserveSpaceForLinkedInSnapshot().
Definition at line 41 of file snapshot.h.
Referenced by Initialize(), and set_raw_data().
|
staticprivate |
Definition at line 61 of file snapshot.h.
Referenced by Initialize(), and raw_size().
|
staticprivate |
Definition at line 60 of file snapshot.h.
Referenced by HaveASnapshotToStartFrom(), Initialize(), and size().