From: yurys@chromium.org Date: Tue, 28 Oct 2014 16:31:43 +0000 (+0000) Subject: Heap profiler clean-up: remove dead code X-Git-Tag: upstream/4.7.83~6048 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60f71a9bd609406e1365d129a8f475a44e75e6b1;p=platform%2Fupstream%2Fv8.git Heap profiler clean-up: remove dead code R=yangguo@chromium.org, loislo@chromium.org LOG=N BUG=Non Review URL: https://codereview.chromium.org/681333003 Cr-Commit-Position: refs/heads/master@{#24954} git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24954 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc index 680e1cc..13f40db 100644 --- a/src/heap-snapshot-generator.cc +++ b/src/heap-snapshot-generator.cc @@ -2300,7 +2300,6 @@ NativeObjectsExplorer::NativeObjectsExplorer( : isolate_(snapshot->profiler()->heap_object_map()->heap()->isolate()), snapshot_(snapshot), names_(snapshot_->profiler()->names()), - progress_(progress), embedder_queried_(false), objects_by_info_(RetainedInfosMatch), native_groups_(StringsMatch), diff --git a/src/heap-snapshot-generator.h b/src/heap-snapshot-generator.h index 3e4ce71..646d497 100644 --- a/src/heap-snapshot-generator.h +++ b/src/heap-snapshot-generator.h @@ -176,7 +176,6 @@ class HeapSnapshot { void FillChildren(); void Print(int max_depth); - void PrintEntriesSize(); private: HeapEntry* AddRootEntry(); @@ -332,7 +331,6 @@ class V8HeapExplorer : public HeapEntriesAllocator { v8::HeapProfiler::ObjectNameResolver* resolver); virtual ~V8HeapExplorer(); virtual HeapEntry* AllocateEntry(HeapThing ptr); - void AddRootEntries(SnapshotFiller* filler); int EstimateObjectsCount(HeapIterator* iterator); bool IterateAndExtractReferences(SnapshotFiller* filler); void TagGlobalObjects(); @@ -473,7 +471,6 @@ class NativeObjectsExplorer { NativeObjectsExplorer(HeapSnapshot* snapshot, SnapshottingProgressReportingInterface* progress); virtual ~NativeObjectsExplorer(); - void AddRootEntries(SnapshotFiller* filler); int EstimateObjectsCount(); bool IterateAndExtractReferences(SnapshotFiller* filler); @@ -506,7 +503,6 @@ class NativeObjectsExplorer { Isolate* isolate_; HeapSnapshot* snapshot_; StringsStorage* names_; - SnapshottingProgressReportingInterface* progress_; bool embedder_queried_; HeapObjectsSet in_groups_; // RetainedObjectInfo* -> List*