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

Issue 10037004: Split nodes and edges into separate arrays in heap snapshot serialization. (Closed)

Created:
8 years, 8 months ago by alexeif
Modified:
8 years, 8 months ago
CC:
v8-dev
Visibility:
Public.

Description

Split nodes and edges into separate arrays in heap snapshot serialization. Committed: https://code.google.com/p/v8/source/detail?r=11315

Patch Set 1 #

Patch Set 2 : Minor tweak. #

Total comments: 12

Patch Set 3 : Addressing comments. #

Total comments: 2

Patch Set 4 : Update to the snapshot structure desciption. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -122 lines) Patch
M include/v8-profiler.h View 1 2 3 1 chunk +12 lines, -8 lines 0 comments Download
M src/profile-generator.h View 1 2 3 chunks +7 lines, -3 lines 0 comments Download
M src/profile-generator.cc View 1 2 8 chunks +111 lines, -86 lines 0 comments Download
M test/cctest/test-heap-profiler.cc View 1 2 2 chunks +21 lines, -25 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
alexeif
Please take a look at the backend part.
8 years, 8 months ago (2012-04-10 16:08:09 UTC) #1
mnaganov (inactive)
https://chromiumcodereview.appspot.com/10037004/diff/2001/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10037004/diff/2001/src/profile-generator.cc#newcode3621 src/profile-generator.cc:3621: writer_->AddString(JSON_O( Is this object still the first item of ...
8 years, 8 months ago (2012-04-10 22:28:09 UTC) #2
yurys
http://codereview.chromium.org/10037004/diff/2001/src/profile-generator.cc File src/profile-generator.cc (right): http://codereview.chromium.org/10037004/diff/2001/src/profile-generator.cc#newcode3477 src/profile-generator.cc:3477: List<HeapEntry*>& nodes = *(snapshot_->entries()); Consider extracting this loop in ...
8 years, 8 months ago (2012-04-11 05:20:05 UTC) #3
loislo
On 2012/04/11 05:20:05, Yury Semikhatsky wrote: > http://codereview.chromium.org/10037004/diff/2001/src/profile-generator.cc > File src/profile-generator.cc (right): > > http://codereview.chromium.org/10037004/diff/2001/src/profile-generator.cc#newcode3477 ...
8 years, 8 months ago (2012-04-11 07:40:17 UTC) #4
alexeif
https://chromiumcodereview.appspot.com/10037004/diff/2001/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10037004/diff/2001/src/profile-generator.cc#newcode3477 src/profile-generator.cc:3477: List<HeapEntry*>& nodes = *(snapshot_->entries()); On 2012/04/11 05:20:05, Yury Semikhatsky ...
8 years, 8 months ago (2012-04-11 12:49:57 UTC) #5
yurys
https://chromiumcodereview.appspot.com/10037004/diff/2001/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10037004/diff/2001/src/profile-generator.cc#newcode3621 src/profile-generator.cc:3621: writer_->AddString(JSON_O( On 2012/04/11 12:49:57, alexeif wrote: > On 2012/04/10 ...
8 years, 8 months ago (2012-04-11 13:07:17 UTC) #6
alexeif
https://chromiumcodereview.appspot.com/10037004/diff/2001/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10037004/diff/2001/src/profile-generator.cc#newcode3621 src/profile-generator.cc:3621: writer_->AddString(JSON_O( On 2012/04/11 13:07:17, Yury Semikhatsky wrote: > On ...
8 years, 8 months ago (2012-04-11 13:10:23 UTC) #7
mnaganov (inactive)
Overall looks good, but I have a question. https://chromiumcodereview.appspot.com/10037004/diff/9001/test/cctest/test-heap-profiler.cc File test/cctest/test-heap-profiler.cc (right): https://chromiumcodereview.appspot.com/10037004/diff/9001/test/cctest/test-heap-profiler.cc#newcode632 test/cctest/test-heap-profiler.cc:632: "parsed.nodes.concat(0, ...
8 years, 8 months ago (2012-04-11 14:50:51 UTC) #8
alexeif
https://chromiumcodereview.appspot.com/10037004/diff/9001/test/cctest/test-heap-profiler.cc File test/cctest/test-heap-profiler.cc (right): https://chromiumcodereview.appspot.com/10037004/diff/9001/test/cctest/test-heap-profiler.cc#newcode632 test/cctest/test-heap-profiler.cc:632: "parsed.nodes.concat(0, 0, 0, 0, 0, 0, parsed.edges.length);"); On 2012/04/11 ...
8 years, 8 months ago (2012-04-11 15:04:54 UTC) #9
mnaganov (inactive)
LGTM Please, update the comment in include/v8-profiler.h regarding the JSON structure.
8 years, 8 months ago (2012-04-11 17:57:44 UTC) #10
alexeif
8 years, 8 months ago (2012-04-12 10:55:35 UTC) #11
yurys
8 years, 8 months ago (2012-04-12 11:55:17 UTC) #12
lgtm

Powered by Google App Engine
This is Rietveld 408576698