Commit 20e6446b authored by alexeif@chromium.org's avatar alexeif@chromium.org

Refactoring of heap profiler: split ExtractReferences into several functions.

Review URL: https://chromiumcodereview.appspot.com/10198011

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11424 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 83cbc638
This diff is collapsed.
......@@ -975,7 +975,17 @@ class V8HeapExplorer : public HeapEntriesAllocator {
int children_count,
int retainers_count);
const char* GetSystemEntryName(HeapObject* object);
void ExtractReferences(HeapObject* obj);
void ExtractJSGlobalProxy(JSGlobalProxy* proxy);
void ExtractJSObject(HeapEntry* entry, JSObject* js_obj);
void ExtractString(HeapEntry* entry, String* obj);
void ExtractContext(HeapEntry* entry, Context* context);
void ExtractMap(HeapEntry* entry, Map* map);
void ExtractSharedFunctionInfo(HeapEntry* entry, SharedFunctionInfo* shared);
void ExtractScript(HeapEntry* entry, Script* script);
void ExtractCodeCache(HeapEntry* entry, CodeCache* code_cache);
void ExtractCode(HeapEntry* entry, Code* code);
void ExtractClosureReferences(JSObject* js_obj, HeapEntry* entry);
void ExtractPropertyReferences(JSObject* js_obj, HeapEntry* entry);
void ExtractElementReferences(JSObject* js_obj, HeapEntry* entry);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment