Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Issue 101393002: Remove HeapSnapshotsCollection class (Closed)

Created:
7 years ago by yurys
Modified:
7 years ago
CC:
v8-dev
Visibility:
Public.

Description

Remove HeapSnapshotsCollection class The class added unecessary level of indirection to the heap profiler implementation. I merged some of its implementation into HeapProfiler and deleted the rest. This refactoring is also a prerequisite for keeping HeapObjectsMap alive even when all snapshots are deleted. BUG=None LOG=N R=alph@chromium.org, mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=18221

Patch Set 1 #

Total comments: 10

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -276 lines) Patch
M src/heap-profiler.h View 3 chunks +13 lines, -8 lines 0 comments Download
M src/heap-profiler.cc View 1 4 chunks +68 lines, -23 lines 0 comments Download
M src/heap-snapshot-generator.h View 9 chunks +9 lines, -65 lines 0 comments Download
M src/heap-snapshot-generator.cc View 29 chunks +47 lines, -156 lines 0 comments Download
M src/list.h View 1 chunk +7 lines, -0 lines 0 comments Download
M test/cctest/cctest.h View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-heap-profiler.cc View 6 chunks +10 lines, -23 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
yurys
7 years ago (2013-12-03 08:42:19 UTC) #1
Michael Starzinger
LGTM. https://codereview.chromium.org/101393002/diff/1/src/heap-profiler.cc File src/heap-profiler.cc (right): https://codereview.chromium.org/101393002/diff/1/src/heap-profiler.cc#newcode119 src/heap-profiler.cc:119: ASSERT(allocation_tracker_.is_empty()); nit: I think it makes sense to ...
7 years ago (2013-12-03 08:54:50 UTC) #2
alph
lgtm https://codereview.chromium.org/101393002/diff/1/src/heap-profiler.cc File src/heap-profiler.cc (right): https://codereview.chromium.org/101393002/diff/1/src/heap-profiler.cc#newcode198 src/heap-profiler.cc:198: heap()->CollectAllGarbage(Heap::kMakeHeapIterableMask, Doesn't look like a Full GC. https://codereview.chromium.org/101393002/diff/1/src/heap-profiler.h ...
7 years ago (2013-12-03 09:20:20 UTC) #3
yurys
https://codereview.chromium.org/101393002/diff/1/src/heap-profiler.cc File src/heap-profiler.cc (right): https://codereview.chromium.org/101393002/diff/1/src/heap-profiler.cc#newcode119 src/heap-profiler.cc:119: ASSERT(allocation_tracker_.is_empty()); On 2013/12/03 08:54:51, Michael Starzinger wrote: > nit: ...
7 years ago (2013-12-03 09:41:30 UTC) #4
yurys
7 years ago (2013-12-03 09:48:41 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r18221 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698