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

Issue 1019813004: Save heap object tracking data in heap snapshot (Closed)

Created:
5 years, 9 months ago by yurys
Modified:
5 years, 9 months ago
Reviewers:
alph, Yang, loislo
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Save heap object tracking data in heap snapshot Every time embedder calls v8::HeapProfiler::GetHeapStats we store next unuassigned heap object id and timestamp of the request. This patch serializes all that data into heap snapshot so that embedder can restore allocation timeline. BUG=chromium:467222 LOG=Y Committed: https://crrev.com/aca7895353e4e4b46124a4873f8119a0a89c33a1 Cr-Commit-Position: refs/heads/master@{#27384}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed review comments #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : Fixed typo #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -11 lines) Patch
M src/heap-snapshot-generator.h View 1 2 3 4 4 chunks +12 lines, -6 lines 0 comments Download
M src/heap-snapshot-generator.cc View 1 2 3 4 4 chunks +38 lines, -5 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
yurys
5 years, 9 months ago (2015-03-19 13:45:33 UTC) #2
alph
lgtm https://codereview.chromium.org/1019813004/diff/1/src/heap-snapshot-generator.cc File src/heap-snapshot-generator.cc (right): https://codereview.chromium.org/1019813004/diff/1/src/heap-snapshot-generator.cc#newcode3080 src/heap-snapshot-generator.cc:3080: base::TimeDelta().InMilliseconds())>::kUnsigned // NOLINT one is timedelta, another is ...
5 years, 9 months ago (2015-03-19 14:05:27 UTC) #3
yurys
https://codereview.chromium.org/1019813004/diff/1/src/heap-snapshot-generator.cc File src/heap-snapshot-generator.cc (right): https://codereview.chromium.org/1019813004/diff/1/src/heap-snapshot-generator.cc#newcode3080 src/heap-snapshot-generator.cc:3080: base::TimeDelta().InMilliseconds())>::kUnsigned // NOLINT On 2015/03/19 14:05:27, alph wrote: > ...
5 years, 9 months ago (2015-03-19 14:13:27 UTC) #4
yurys
Yang: please do OWNERS review.
5 years, 9 months ago (2015-03-19 14:14:18 UTC) #5
yurys
Yang: please do OWNERS review.
5 years, 9 months ago (2015-03-19 16:14:42 UTC) #7
alph
https://codereview.chromium.org/1019813004/diff/20001/src/heap-snapshot-generator.cc File src/heap-snapshot-generator.cc (right): https://codereview.chromium.org/1019813004/diff/20001/src/heap-snapshot-generator.cc#newcode2949 src/heap-snapshot-generator.cc:2949: JSON_S("timstamp_ms") "," _usec or just timestamp?
5 years, 9 months ago (2015-03-19 20:43:53 UTC) #8
yurys
https://codereview.chromium.org/1019813004/diff/20001/src/heap-snapshot-generator.cc File src/heap-snapshot-generator.cc (right): https://codereview.chromium.org/1019813004/diff/20001/src/heap-snapshot-generator.cc#newcode2949 src/heap-snapshot-generator.cc:2949: JSON_S("timstamp_ms") "," On 2015/03/19 20:43:53, alph wrote: > _usec ...
5 years, 9 months ago (2015-03-20 08:30:41 UTC) #9
Yang
On 2015/03/20 08:30:41, yurys wrote: > https://codereview.chromium.org/1019813004/diff/20001/src/heap-snapshot-generator.cc > File src/heap-snapshot-generator.cc (right): > > https://codereview.chromium.org/1019813004/diff/20001/src/heap-snapshot-generator.cc#newcode2949 > ...
5 years, 9 months ago (2015-03-20 10:24:59 UTC) #10
yurys
On 2015/03/20 10:24:59, Yang wrote: > On 2015/03/20 08:30:41, yurys wrote: > > > https://codereview.chromium.org/1019813004/diff/20001/src/heap-snapshot-generator.cc ...
5 years, 9 months ago (2015-03-20 10:38:13 UTC) #11
Yang
On 2015/03/20 10:38:13, yurys wrote: > On 2015/03/20 10:24:59, Yang wrote: > > On 2015/03/20 ...
5 years, 9 months ago (2015-03-20 10:40:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1019813004/80001
5 years, 9 months ago (2015-03-24 04:59:28 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-24 05:50:02 UTC) #16
commit-bot: I haz the power
5 years, 9 months ago (2015-03-24 05:50:11 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/aca7895353e4e4b46124a4873f8119a0a89c33a1
Cr-Commit-Position: refs/heads/master@{#27384}

Powered by Google App Engine
This is Rietveld 408576698