Public メソッド | Static Public メソッド | Static Public 変数 | Protected メソッド | Private メソッド

クラス v8::internal::HeapObject

#include <objects.h>

v8::Objectを継承しています。

v8::internal::Array, v8::internal::Code, v8::internal::FreeListNode, v8::internal::HeapNumber, v8::internal::JSObject, v8::internal::Map, v8::internal::Oddball, v8::internal::Proxy, v8::internal::SharedFunctionInfo, v8::internal::String, と v8::internal::Structに継承されています。

すべてのメンバ一覧

Public メソッド

Mapmap ()
void set_map (Map *value)
MapWord map_word ()
void set_map_word (MapWord map_word)
Address address ()
void Iterate (ObjectVisitor *v)
void IterateBody (InstanceType type, int object_size, ObjectVisitor *v)
void IterateStructBody (int object_size, ObjectVisitor *v)
int Size ()
int SizeFromMap (Map *map)
bool IsMarked ()
void SetMark ()
void ClearMark ()
bool IsOverflowed ()
void SetOverflow ()
void ClearOverflow ()
WriteBarrierMode GetWriteBarrierMode ()
void HeapObjectShortPrint (StringStream *accumulator)

Static Public メソッド

static HeapObjectFromAddress (Address address)
static Object ** RawField (HeapObject *obj, int offset)
static HeapObjectcast (Object *obj)

Static Public 変数

static const int kMapOffset = Object::kHeaderSize
static const int kHeaderSize = kMapOffset + kPointerSize

Protected メソッド

void IteratePointers (ObjectVisitor *v, int start, int end)
void IteratePointer (ObjectVisitor *v, int offset)
int SlowSizeFromMap (Map *map)

Private メソッド

 DISALLOW_IMPLICIT_CONSTRUCTORS (HeapObject)

説明

objects.h982 行で定義されています。


関数

Address v8::internal::HeapObject::address (  )  [inline]

objects-inl.h812 行で定義されています。

参照先 v8::internal::kHeapObjectTag.

参照元 v8::internal::Heap::AllocateArgumentsObject(), v8::internal::LargeObjectSpace::ClearRSet(), v8::internal::Logger::CodeCreateEvent(), v8::internal::PagedSpace::Contains(), v8::internal::Heap::Contains(), v8::internal::Heap::CopyCode(), v8::internal::Heap::CopyFixedArray(), v8::internal::Heap::CopyJSObject(), v8::internal::EncodeForwardingAddressesInRange(), v8::internal::EncodeForwardingAddressInNewSpace(), v8::internal::EncodeForwardingAddressInPagedSpace(), v8::internal::LargeObjectSpace::FreeUnmarkedObjects(), v8::internal::MarkCompactCollector::GetForwardingAddressInOldSpace(), v8::internal::Deserializer::GetObject(), v8::internal::Heap::InSpace(), v8::internal::LargeObjectSpace::IterateRSet(), v8::internal::LogNonLiveCodeObject(), v8::internal::Heap::MigrateObject(), v8::internal::FreeListNode::next(), v8::internal::Serializer::PutObject(), v8::internal::MarkCompactCollector::RelocateCodeObject(), v8::internal::MarkCompactCollector::RelocateMapObject(), v8::internal::MarkCompactCollector::RelocateNewObject(), v8::internal::MarkCompactCollector::RelocateOldNonCodeObject(), v8::internal::RelocateOldObject(), v8::internal::Heap::ScavengeObjectSlow(), v8::internal::FreeListNode::set_next(), v8::internal::UpdatingVisitor::UpdatePointer(), v8::internal::MarkCompactCollector::UpdatePointersInNewObject(), v8::internal::MarkCompactCollector::UpdatePointersInOldObject(), と v8::internal::Heap::UpdateRSet().

static HeapObject* v8::internal::HeapObject::cast ( Object obj  )  [inline, static]

v8::internal::Context, v8::internal::HeapNumber, v8::internal::JSObject, v8::internal::FixedArray, v8::internal::DescriptorArray, v8::internal::HashTable< prefix_size, element_size >, v8::internal::SymbolTable, v8::internal::MapCache, v8::internal::LookupCache, v8::internal::Dictionary, v8::internal::ByteArray, v8::internal::Code, v8::internal::Map, v8::internal::Struct, v8::internal::Script, v8::internal::SharedFunctionInfo, v8::internal::JSFunction, v8::internal::JSGlobalProxy, v8::internal::GlobalObject, v8::internal::JSGlobalObject, v8::internal::JSBuiltinsObject, v8::internal::JSValue, v8::internal::JSRegExp, v8::internal::CompilationCacheTable, v8::internal::String, v8::internal::SeqString, v8::internal::SeqAsciiString, v8::internal::SeqTwoByteString, v8::internal::ConsString, v8::internal::SlicedString, v8::internal::ExternalString, v8::internal::ExternalAsciiString, v8::internal::ExternalTwoByteString, v8::internal::Oddball, v8::internal::Proxy, v8::internal::JSArray, v8::internal::AccessorInfo, v8::internal::AccessCheckInfo, v8::internal::InterceptorInfo, v8::internal::CallHandlerInfo, v8::internal::FunctionTemplateInfo, v8::internal::ObjectTemplateInfo, v8::internal::SignatureInfo, v8::internal::TypeSwitchInfo, v8::internal::DebugInfo, v8::internal::BreakPointInfo, v8::internal::HashTable< 2, 3 >, v8::internal::HashTable< 0, 2 >, と v8::internal::HashTable< 0, 1 >で再定義されています。

参照元 v8::internal::Heap::Allocate(), v8::internal::Heap::AllocateArgumentsObject(), v8::internal::Heap::AllocateHeapNumber(), v8::internal::Heap::AllocateRawAsciiString(), v8::internal::Heap::AllocateRawTwoByteString(), v8::internal::JSValue::cast(), v8::internal::Heap::CopyFixedArray(), v8::internal::Heap::CopyJSObject(), v8::internal::Heap::CreateCode(), v8::internal::Serializer::Encode(), v8::internal::EncodeForwardingAddressesInRange(), v8::internal::EncodeForwardingAddressInNewSpace(), v8::internal::EncodeForwardingAddressInPagedSpace(), v8::internal::Execution::GetFunctionDelegate(), HeapObjectShortPrint(), v8::internal::Array::IndexFromObject(), v8::internal::JSObject::JSObjectShortPrint(), v8::internal::LoadIC::Load(), v8::internal::MarkCompactCollector::MarkObjectGroups(), v8::internal::MarkCompactCollector::MustBeMarked(), v8::internal::StringStream::PrintFunction(), v8::internal::StringStream::PrintObject(), v8::internal::StringStream::PrintSecurityTokenIfChanged(), v8::internal::Runtime_Typeof(), v8::internal::Heap::Scavenge(), v8::internal::Heap::ScavengeObjectSlow(), v8::internal::FreeListNode::set_size(), v8::internal::ShortCircuitConsString(), v8::internal::MapSpace::SlowAllocateRaw(), v8::internal::OldSpace::SlowAllocateRaw(), v8::internal::UpdatingVisitor::UpdatePointer(), v8::internal::ReferenceUpdater::VisitPointers(), v8::internal::SymbolTableCleaner::VisitPointers(), と v8::internal::MarkingVisitor::VisitUnmarkedObjects().

void v8::internal::HeapObject::ClearMark (  )  [inline]

objects-inl.h846 行で定義されています。

参照先 ASSERT, IsMarked(), map_word(), と set_map_word().

参照元 v8::internal::LargeObjectSpace::FreeUnmarkedObjects().

void v8::internal::HeapObject::ClearOverflow (  )  [inline]

objects-inl.h866 行で定義されています。

参照先 ASSERT, IsOverflowed(), map_word(), と set_map_word().

v8::internal::HeapObject::DISALLOW_IMPLICIT_CONSTRUCTORS ( HeapObject   )  [private]
HeapObject * v8::internal::HeapObject::FromAddress ( Address  address  )  [inline, static]
WriteBarrierMode v8::internal::HeapObject::GetWriteBarrierMode (  )  [inline]
void v8::internal::HeapObject::HeapObjectShortPrint ( StringStream accumulator  ) 
bool v8::internal::HeapObject::IsMarked (  )  [inline]
bool v8::internal::HeapObject::IsOverflowed (  )  [inline]
void v8::internal::HeapObject::Iterate ( ObjectVisitor *  v  ) 
void v8::internal::HeapObject::IterateBody ( InstanceType  type,
int  object_size,
ObjectVisitor *  v 
)
void v8::internal::HeapObject::IteratePointer ( ObjectVisitor *  v,
int  offset 
) [inline, protected]
void v8::internal::HeapObject::IteratePointers ( ObjectVisitor *  v,
int  start,
int  end 
) [inline, protected]
void v8::internal::HeapObject::IterateStructBody ( int  object_size,
ObjectVisitor *  v 
)

objects.cc884 行で定義されています。

参照先 IteratePointers(), と kHeaderSize.

参照元 IterateBody().

Map * v8::internal::HeapObject::map (  )  [inline]

objects-inl.h784 行で定義されています。

参照先 map_word().

参照元 v8::internal::JSObject::AddConstantFunctionProperty(), v8::internal::JSObject::AddFastProperty(), v8::internal::JSObject::AddFastPropertyUsingMap(), v8::internal::JSObject::AddProperty(), v8::internal::Heap::AllocateArgumentsObject(), v8::internal::BUILTIN(), v8::internal::MacroAssembler::CheckMaps(), v8::internal::JSObject::class_name(), v8::internal::StoreStubCompiler::CompileStoreCallback(), v8::internal::StoreStubCompiler::CompileStoreField(), v8::internal::StoreStubCompiler::CompileStoreInterceptor(), v8::internal::StubCache::ComputeCallNormal(), v8::internal::StubCache::ComputeKeyedLoadArrayLength(), v8::internal::StubCache::ComputeKeyedLoadCallback(), v8::internal::StubCache::ComputeKeyedLoadConstant(), v8::internal::StubCache::ComputeKeyedLoadField(), v8::internal::StubCache::ComputeKeyedLoadFunctionPrototype(), v8::internal::StubCache::ComputeKeyedLoadInterceptor(), v8::internal::StubCache::ComputeKeyedLoadStringLength(), v8::internal::StubCache::ComputeKeyedStoreField(), v8::internal::StubCache::ComputeLoadCallback(), v8::internal::StubCache::ComputeLoadConstant(), v8::internal::StubCache::ComputeLoadField(), v8::internal::StubCache::ComputeLoadInterceptor(), v8::internal::StubCache::ComputeLoadNormal(), v8::internal::ComputeReceiverForNonGlobal(), v8::internal::StubCache::ComputeStoreCallback(), v8::internal::StubCache::ComputeStoreField(), v8::internal::StubCache::ComputeStoreInterceptor(), v8::internal::JSObject::ConvertDescriptorToField(), v8::internal::JSObject::ConvertDescriptorToFieldAndMapTransition(), v8::internal::Heap::CopyFixedArray(), v8::internal::Heap::CopyJSObject(), v8::internal::FixedArray::CopySize(), v8::internal::DebugConstructedBy(), v8::internal::DebugReferencedBy(), v8::internal::EncodeForwardingAddressInPagedSpace(), v8::internal::JSObject::FastPropertyAt(), v8::internal::JSObject::FastPropertyAtPut(), v8::internal::Accessors::FlattenNumber(), v8::internal::String::full_representation_tag(), v8::internal::IC::GetCodeCacheMapForObject(), v8::internal::Execution::GetFunctionDelegate(), v8::internal::JSObject::GetIndexedInterceptor(), v8::internal::JSObject::GetInternalFieldCount(), v8::internal::JSObject::GetLocalPropertyNames(), v8::internal::JSObject::GetNamedInterceptor(), v8::internal::JSObject::GetPrototype(), v8::internal::JSFunction::has_prototype(), v8::internal::JSObject::HasIndexedInterceptor(), v8::internal::JSObject::HasNamedInterceptor(), HeapObjectShortPrint(), v8::internal::JSObject::InObjectPropertyAtPut(), v8::internal::String::is_ascii_representation(), v8::internal::String::is_symbol(), v8::internal::JSFunction::IsBoilerplate(), v8::internal::IsShortcutCandidate(), v8::internal::JSObject::IsSimpleEnum(), Iterate(), v8::internal::JSObject::JSObjectShortPrint(), v8::internal::LoadIC::Load(), v8::internal::JSObject::LookupInDescriptor(), v8::internal::String::MarkAsUndetectable(), v8::internal::Top::MayIndexedAccess(), v8::internal::Top::MayNamedAccess(), v8::internal::FreeListNode::next(), v8::internal::JSObject::NormalizeProperties(), v8::internal::JSObject::NumberOfLocalProperties(), v8::internal::Accessors::ObjectGetPrototype(), v8::internal::Accessors::ObjectSetPrototype(), v8::internal::StringStream::PrintFunction(), v8::internal::StringStream::PrintSecurityTokenIfChanged(), v8::internal::StringStream::PrintUsingMap(), v8::internal::JSFunction::prototype(), v8::internal::Serializer::PutObject(), v8::internal::JSObject::ReferencesObject(), v8::internal::Top::ReportFailedAccessCheck(), v8::internal::String::representation_tag(), v8::internal::Runtime_DebugReferencedBy(), v8::internal::Runtime_KeyedGetProperty(), v8::internal::Runtime_Typeof(), v8::internal::FreeListNode::set_next(), v8::internal::JSFunction::SetPrototype(), Size(), v8::internal::String::size_tag(), v8::internal::JSObject::SlowReverseLookup(), v8::internal::Dictionary::TransformPropertiesToFastFor(), v8::internal::MarkCompactCollector::UpdatePointersInNewObject(), と v8::internal::MarkingVisitor::VisitUnmarkedObject().

MapWord v8::internal::HeapObject::map_word (  )  [inline]
Object ** v8::internal::HeapObject::RawField ( HeapObject obj,
int  offset 
) [inline, static]
void v8::internal::HeapObject::set_map ( Map value  )  [inline]
void v8::internal::HeapObject::set_map_word ( MapWord  map_word  )  [inline]
void v8::internal::HeapObject::SetMark (  )  [inline]
void v8::internal::HeapObject::SetOverflow (  )  [inline]

objects-inl.h859 行で定義されています。

参照先 map_word(), と set_map_word().

int v8::internal::HeapObject::Size (  )  [inline]
int v8::internal::HeapObject::SizeFromMap ( Map map  )  [inline]
int v8::internal::HeapObject::SlowSizeFromMap ( Map map  )  [protected]

変数

const int v8::internal::HeapObject::kMapOffset = Object::kHeaderSize [static]

このクラスの説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義