v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include "v8.h"
#include "accessors.h"
#include "api.h"
#include "bootstrapper.h"
#include "codegen.h"
#include "compilation-cache.h"
#include "cpu-profiler.h"
#include "debug.h"
#include "deoptimizer.h"
#include "global-handles.h"
#include "heap-profiler.h"
#include "incremental-marking.h"
#include "isolate-inl.h"
#include "mark-compact.h"
#include "natives.h"
#include "objects-visiting.h"
#include "objects-visiting-inl.h"
#include "once.h"
#include "runtime-profiler.h"
#include "scopeinfo.h"
#include "snapshot.h"
#include "store-buffer.h"
#include "utils/random-number-generator.h"
#include "v8conversions.h"
#include "v8threads.h"
#include "v8utils.h"
#include "vm-state-inl.h"
Go to the source code of this file.
Data Structures | |
class | ScavengeVisitor |
class | ScavengeWeakObjectRetainer |
struct | WeakListVisitor< T > |
struct | WeakListVisitor< JSFunction > |
struct | WeakListVisitor< Code > |
struct | WeakListVisitor< Context > |
struct | WeakListVisitor< JSArrayBufferView > |
struct | WeakListVisitor< JSArrayBuffer > |
struct | WeakListVisitor< AllocationSite > |
class | NewSpaceScavenger |
class | ScavengingVisitor< marks_handling, logging_and_profiling_mode > |
class | HeapObjectsFilter |
class | UnreachableObjectsFilter |
Namespaces | |
v8 | |
v8::internal | |
Macros | |
#define | UPDATE_COUNTERS_FOR_SPACE(space) |
#define | UPDATE_FRAGMENTATION_FOR_SPACE(space) |
#define | UPDATE_COUNTERS_AND_FRAGMENTATION_FOR_SPACE(space) |
#define | STRING_TYPE_ELEMENT(type, size, name, camel_name) {type, size, k##camel_name##MapRootIndex}, |
#define | CONSTANT_STRING_ELEMENT(name, contents) {contents, k##name##RootIndex}, |
#define | STRUCT_TABLE_ELEMENT(NAME, Name, name) { NAME##_TYPE, Name::kSize, k##Name##MapRootIndex }, |
#define | ALLOCATE_MAP(instance_type, size, field_name) |
#define | ALLOCATE_VARSIZE_MAP(instance_type, field_name) ALLOCATE_MAP(instance_type, kVariableSizeSentinel, field_name) |
#define | ALLOCATE_EXTERNAL_ARRAY_MAP(Type, type, TYPE, ctype, size) |
#define | ALLOCATE_FIXED_TYPED_ARRAY_MAP(Type, type, TYPE, ctype, size) |
#define | ALLOCATE_EMPTY_EXTERNAL_ARRAY(Type, type, TYPE, ctype, size) |
#define | ALLOCATE_EMPTY_FIXED_TYPED_ARRAY(Type, type, TYPE, ctype, size) |
#define | ARRAY_TYPE_TO_ROOT_INDEX(Type, type, TYPE, ctype, size) |
#define | ARRAY_TYPE_TO_ROOT_INDEX(Type, type, TYPE, ctype, size) |
#define | ELEMENT_KIND_TO_ROOT_INDEX(Type, type, TYPE, ctype, size) |
#define | ELEMENT_KIND_TO_ROOT_INDEX(Type, type, TYPE, ctype, size) |
#define | TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size) |
#define | MAKE_CASE(NAME, Name, name) case NAME##_TYPE: map = name##_map(); break; |
#define | ADJUST_LAST_TIME_OBJECT_COUNT(name) |
#define | ADJUST_LAST_TIME_OBJECT_COUNT(name) |
#define | ADJUST_LAST_TIME_OBJECT_COUNT(name) |
#define | ADJUST_LAST_TIME_OBJECT_COUNT(name) |
Enumerations | |
enum | LoggingAndProfiling { LOGGING_AND_PROFILING_ENABLED, LOGGING_AND_PROFILING_DISABLED } |
enum | MarksHandling { TRANSFER_MARKS, IGNORE_MARKS } |
Functions | |
STATIC_ASSERT ((FixedDoubleArray::kHeaderSize &kDoubleAlignmentMask)==0) | |
STATIC_ASSERT ((ConstantPoolArray::kHeaderSize &kDoubleAlignmentMask)==0) | |
INLINE (static HeapObject *EnsureDoubleAligned(Heap *heap, HeapObject *object, int size)) | |
V8_DECLARE_ONCE (initialize_gc_once) | |
#define ADJUST_LAST_TIME_OBJECT_COUNT | ( | name | ) |
Referenced by Heap::CheckpointObjectStats().
#define ADJUST_LAST_TIME_OBJECT_COUNT | ( | name | ) |
#define ADJUST_LAST_TIME_OBJECT_COUNT | ( | name | ) |
#define ADJUST_LAST_TIME_OBJECT_COUNT | ( | name | ) |
#define ALLOCATE_EMPTY_EXTERNAL_ARRAY | ( | Type, | |
type, | |||
TYPE, | |||
ctype, | |||
size | |||
) |
#define ALLOCATE_EMPTY_FIXED_TYPED_ARRAY | ( | Type, | |
type, | |||
TYPE, | |||
ctype, | |||
size | |||
) |
#define ALLOCATE_EXTERNAL_ARRAY_MAP | ( | Type, | |
type, | |||
TYPE, | |||
ctype, | |||
size | |||
) |
#define ALLOCATE_FIXED_TYPED_ARRAY_MAP | ( | Type, | |
type, | |||
TYPE, | |||
ctype, | |||
size | |||
) |
#define ALLOCATE_MAP | ( | instance_type, | |
size, | |||
field_name | |||
) |
#define ALLOCATE_VARSIZE_MAP | ( | instance_type, | |
field_name | |||
) | ALLOCATE_MAP(instance_type, kVariableSizeSentinel, field_name) |
#define ARRAY_TYPE_TO_ROOT_INDEX | ( | Type, | |
type, | |||
TYPE, | |||
ctype, | |||
size | |||
) |
Referenced by Heap::RootIndexForExternalArrayType(), and Heap::RootIndexForFixedTypedArray().
#define ARRAY_TYPE_TO_ROOT_INDEX | ( | Type, | |
type, | |||
TYPE, | |||
ctype, | |||
size | |||
) |
#define ELEMENT_KIND_TO_ROOT_INDEX | ( | Type, | |
type, | |||
TYPE, | |||
ctype, | |||
size | |||
) |
Referenced by Heap::RootIndexForEmptyExternalArray(), and Heap::RootIndexForEmptyFixedTypedArray().
#define ELEMENT_KIND_TO_ROOT_INDEX | ( | Type, | |
type, | |||
TYPE, | |||
ctype, | |||
size | |||
) |
Referenced by Heap::AllocateStruct().
#define STRING_TYPE_ELEMENT | ( | type, | |
size, | |||
name, | |||
camel_name | |||
) | {type, size, k##camel_name##MapRootIndex}, |
#define STRUCT_TABLE_ELEMENT | ( | NAME, | |
Name, | |||
name | |||
) | { NAME##_TYPE, Name::kSize, k##Name##MapRootIndex }, |
#define TYPED_ARRAY_CASE | ( | Type, | |
type, | |||
TYPE, | |||
ctype, | |||
size | |||
) |
#define UPDATE_COUNTERS_AND_FRAGMENTATION_FOR_SPACE | ( | space | ) |
#define UPDATE_COUNTERS_FOR_SPACE | ( | space | ) |
#define UPDATE_FRAGMENTATION_FOR_SPACE | ( | space | ) |