v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <mark-compact.h>
Public Member Functions | |
Marker (BaseMarker *base_marker, MarkCompactCollector *mark_compact_collector) | |
void | MarkMapContents (Map *map) |
void | MarkDescriptorArray (DescriptorArray *descriptors) |
void | MarkAccessorPairSlot (AccessorPair *accessors, int offset) |
Definition at line 388 of file mark-compact.h.
|
inline |
Definition at line 390 of file mark-compact.h.
void MarkAccessorPairSlot | ( | AccessorPair * | accessors, |
int | offset | ||
) |
Definition at line 1945 of file mark-compact.cc.
References HeapObject::cast(), and HeapObject::RawField().
void MarkDescriptorArray | ( | DescriptorArray * | descriptors | ) |
Definition at line 1866 of file mark-compact.cc.
References ASSERT, v8::internal::CALLBACKS, HeapObject::cast(), AccessorPair::cast(), v8::internal::CONSTANT_FUNCTION, v8::internal::CONSTANT_TRANSITION, FixedArray::data_start(), v8::internal::FIELD, DescriptorArray::GetDetails(), DescriptorArray::GetEnumCacheSlot(), HeapObject::GetHeap(), DescriptorArray::GetKeySlot(), DescriptorArray::GetTransitionsSlot(), DescriptorArray::GetValueSlot(), v8::internal::HANDLER, DescriptorArray::HasEnumCache(), v8::internal::INTERCEPTOR, AccessorPair::kGetterOffset, AccessorPair::kSetterOffset, v8::internal::MAP_TRANSITION, v8::internal::NORMAL, v8::internal::NULL, v8::internal::NULL_DESCRIPTOR, and DescriptorArray::number_of_descriptors().
void MarkMapContents | ( | Map * | map | ) |
Definition at line 1816 of file mark-compact.cc.
References HeapObject::address(), HeapObject::cast(), MarkBit::Get(), Map::GetBackPointer(), MemoryChunk::IncrementLiveBytesFromGC(), Map::kInstanceDescriptorsOrBitField3Offset, Map::kPointerFieldsBeginOffset, Map::kPointerFieldsEndOffset, Map::kPrototypeTransitionsOrBackPointerOffset, Marking::MarkBitFrom(), Object::NonFailureIsHeapObject(), HeapObject::RawField(), MarkBit::Set(), HeapObject::Size(), and v8::internal::STATIC_ASSERT().