#include <serialize.h>
Definition at line 329 of file serialize.h.
◆ SerializationAddressMapper()
v8::internal::SerializationAddressMapper::SerializationAddressMapper |
( |
| ) |
|
|
inline |
Definition at line 331 of file serialize.h.
HashMap * serialization_map_
DisallowHeapAllocation no_allocation_
static bool PointersMatch(void *key1, void *key2)
TemplateHashMapImpl< FreeStoreAllocationPolicy > HashMap
◆ ~SerializationAddressMapper()
v8::internal::SerializationAddressMapper::~SerializationAddressMapper |
( |
| ) |
|
|
inline |
◆ AddMapping()
void v8::internal::SerializationAddressMapper::AddMapping |
( |
HeapObject * |
obj, |
|
|
int |
to |
|
) |
| |
|
inline |
Definition at line 349 of file serialize.h.
351 HashMap::Entry* entry =
static uint32_t Hash(HeapObject *obj)
static void * Key(HeapObject *obj)
static void * Value(int v)
bool IsMapped(HeapObject *obj)
Entry * Lookup(void *key, uint32_t hash, bool insert, AllocationPolicy allocator=AllocationPolicy())
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 expose gc extension under the specified name show built in functions in stack traces use random jit cookie to mask large constants minimum length for automatic enable preparsing CPU profiler sampling interval in microseconds trace out of bounds accesses to external arrays default size of stack region v8 is allowed to maximum length of function source code printed in a stack trace min size of a semi the new space consists of two semi spaces print one trace line following each garbage collection do not print trace line after scavenger collection print cumulative GC statistics in only print modified registers Trace simulator debug messages Implied by trace sim abort randomize hashes to avoid predictable hash Fixed seed to use to hash property Print the time it takes to deserialize the snapshot A filename with extra code to be included in the A file to write the raw snapshot bytes to(mksnapshot only)") DEFINE_STRING(raw_context_file
#define DCHECK(condition)
References DCHECK, Hash(), IsMapped(), Key(), v8::internal::TemplateHashMapImpl< AllocationPolicy >::Lookup(), serialization_map_, to(), and Value().
Referenced by v8::internal::Serializer::ObjectSerializer::Serialize().
◆ DISALLOW_COPY_AND_ASSIGN()
◆ Hash()
◆ IsMapped()
bool v8::internal::SerializationAddressMapper::IsMapped |
( |
HeapObject * |
obj | ) |
|
|
inline |
Definition at line 339 of file serialize.h.
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
References Hash(), Key(), v8::internal::TemplateHashMapImpl< AllocationPolicy >::Lookup(), NULL, and serialization_map_.
Referenced by AddMapping(), MappedTo(), v8::internal::PartialSerializer::SerializeObject(), v8::internal::StartupSerializer::SerializeObject(), and v8::internal::CodeSerializer::SerializeObject().
◆ Key()
static void* v8::internal::SerializationAddressMapper::Key |
( |
HeapObject * |
obj | ) |
|
|
inlinestaticprivate |
◆ MappedTo()
int v8::internal::SerializationAddressMapper::MappedTo |
( |
HeapObject * |
obj | ) |
|
|
inline |
◆ Value()
static void* v8::internal::SerializationAddressMapper::Value |
( |
int |
v | ) |
|
|
inlinestaticprivate |
◆ no_allocation_
◆ serialization_map_
HashMap* v8::internal::SerializationAddressMapper::serialization_map_ |
|
private |
The documentation for this class was generated from the following file: