V8 Project
|
#include <heap-snapshot-generator.h>
Public Member Functions | |
HeapObjectsSet () | |
void | Clear () |
bool | Contains (Object *object) |
void | Insert (Object *obj) |
const char * | GetTag (Object *obj) |
void | SetTag (Object *obj, const char *tag) |
bool | is_empty () const |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (HeapObjectsSet) | |
Private Attributes | |
HashMap | entries_ |
Definition at line 302 of file heap-snapshot-generator.h.
v8::internal::HeapObjectsSet::HeapObjectsSet | ( | ) |
Definition at line 738 of file heap-snapshot-generator.cc.
void v8::internal::HeapObjectsSet::Clear | ( | ) |
Definition at line 743 of file heap-snapshot-generator.cc.
References v8::internal::TemplateHashMapImpl< AllocationPolicy >::Clear(), and entries_.
Definition at line 748 of file heap-snapshot-generator.cc.
References entries_, v8::internal::HeapEntriesMap::Hash(), v8::internal::TemplateHashMapImpl< AllocationPolicy >::Lookup(), and NULL.
Referenced by v8::internal::V8HeapExplorer::ExtractFixedArrayReferences(), v8::internal::V8HeapExplorer::SetGcSubrootReference(), and v8::internal::NativeObjectsExplorer::VisitSubtreeWrapper().
|
private |
const char * v8::internal::HeapObjectsSet::GetTag | ( | Object * | obj | ) |
Definition at line 762 of file heap-snapshot-generator.cc.
References entries_, v8::internal::HeapEntriesMap::Hash(), v8::internal::TemplateHashMapImpl< AllocationPolicy >::Lookup(), and NULL.
Referenced by v8::internal::V8HeapExplorer::AddEntry(), and v8::internal::V8HeapExplorer::GetStrongGcSubrootName().
void v8::internal::HeapObjectsSet::Insert | ( | Object * | obj | ) |
Definition at line 755 of file heap-snapshot-generator.cc.
References entries_, v8::internal::HeapEntriesMap::Hash(), and v8::internal::TemplateHashMapImpl< AllocationPolicy >::Lookup().
Referenced by v8::internal::NativeObjectsExplorer::FillRetainedObjects(), v8::internal::V8HeapExplorer::MarkAsWeakContainer(), and v8::internal::V8HeapExplorer::SetGcSubrootReference().
|
inline |
Definition at line 310 of file heap-snapshot-generator.h.
References entries_, and v8::internal::TemplateHashMapImpl< AllocationPolicy >::occupancy().
Referenced by v8::internal::V8HeapExplorer::GetStrongGcSubrootName().
void v8::internal::HeapObjectsSet::SetTag | ( | Object * | obj, |
const char * | tag | ||
) |
Definition at line 772 of file heap-snapshot-generator.cc.
References entries_, v8::internal::HeapEntriesMap::Hash(), and v8::internal::TemplateHashMapImpl< AllocationPolicy >::Lookup().
Referenced by v8::internal::V8HeapExplorer::TagGlobalObjects().
|
private |
Definition at line 313 of file heap-snapshot-generator.h.
Referenced by Clear(), Contains(), GetTag(), Insert(), is_empty(), and SetTag().