55 base::ElapsedTimer timer;
56 if (FLAG_profile_deserialization) {
60 Deserializer deserializer(&source);
72 bool success = isolate->Init(&deserializer);
73 if (FLAG_profile_deserialization) {
74 double ms = timer.Elapsed().InMillisecondsF();
75 PrintF(
"[Snapshot loading and deserialization took %0.3f ms]\n", ms);
83 return Handle<Context>();
87 Deserializer deserializer(&source);
102 context_property_cell_space_used);
105 deserializer.DeserializePartial(isolate, &root);
106 CHECK(root->IsContext());
118 SnapshotByteSource source(
reinterpret_cast<const byte*
>(snapshot_blob->
data),
Isolate represents an isolated instance of the V8 engine.
static Context * cast(Object *context)
static Handle< Context > NewContextFromSnapshot(Isolate *isolate)
static bool Initialize(Isolate *isolate)
static bool HaveASnapshotToStartFrom()
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL
#define DCHECK(condition)
kSerializedDataOffset Object
void PrintF(const char *format,...)
static SnapshotImpl * snapshot_impl_
void SetSnapshotFromFile(StartupData *snapshot_blob)
Debugger support for the V8 JavaScript engine.
const byte * context_data
int context_lo_space_used
int property_cell_space_used
int context_property_cell_space_used
int context_code_space_used
int context_cell_space_used
int context_pointer_space_used
int context_data_space_used
int context_new_space_used
int context_map_space_used