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

Issue 10012013: Get rid of HeapEntry to ID map in heap profile serializer (Closed)

Created:
8 years, 8 months ago by yurys
Modified:
8 years, 8 months ago
Visibility:
Public.

Description

We can avoid putting all nodes into a hash map from HeapEntry to ID and sorting that map as the nodes are already stored in right order in HeapSnapshot::entries_ list. Committed: https://code.google.com/p/v8/source/detail?r=11245

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -66 lines) Patch
M src/profile-generator.h View 9 chunks +7 lines, -8 lines 0 comments Download
M src/profile-generator.cc View 1 2 3 4 12 chunks +51 lines, -58 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
yurys
8 years, 8 months ago (2012-04-05 18:37:21 UTC) #1
loislo
https://chromiumcodereview.appspot.com/10012013/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10012013/diff/1/src/profile-generator.cc#newcode1293 src/profile-generator.cc:1293: return &sorted_entries_; It is not clear for me why ...
8 years, 8 months ago (2012-04-05 19:58:09 UTC) #2
loislo
8 years, 8 months ago (2012-04-05 19:58:10 UTC) #3
mnaganov (inactive)
https://chromiumcodereview.appspot.com/10012013/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10012013/diff/1/src/profile-generator.cc#newcode1293 src/profile-generator.cc:1293: return &sorted_entries_; On 2012/04/05 19:58:09, loislo wrote: > It ...
8 years, 8 months ago (2012-04-05 22:54:55 UTC) #4
loislo
https://chromiumcodereview.appspot.com/10012013/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10012013/diff/1/src/profile-generator.cc#newcode1293 src/profile-generator.cc:1293: return &sorted_entries_; Please correct me if I'm wrong but ...
8 years, 8 months ago (2012-04-06 06:23:07 UTC) #5
loislo
https://chromiumcodereview.appspot.com/10012013/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10012013/diff/1/src/profile-generator.cc#newcode1293 src/profile-generator.cc:1293: return &sorted_entries_; after adding address field into EntryInfo we ...
8 years, 8 months ago (2012-04-06 06:46:31 UTC) #6
loislo
https://chromiumcodereview.appspot.com/10012013/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10012013/diff/1/src/profile-generator.cc#newcode3647 src/profile-generator.cc:3647: nodes[0]->set_entry_index(prev_value); looks like I'm wrong here. It is not ...
8 years, 8 months ago (2012-04-06 06:48:30 UTC) #7
yurys
https://chromiumcodereview.appspot.com/10012013/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10012013/diff/1/src/profile-generator.cc#newcode1293 src/profile-generator.cc:1293: return &sorted_entries_; On 2012/04/06 06:23:08, loislo wrote: > Please ...
8 years, 8 months ago (2012-04-06 07:18:13 UTC) #8
loislo
lgtm
8 years, 8 months ago (2012-04-06 09:04:59 UTC) #9
alexeif
https://chromiumcodereview.appspot.com/10012013/diff/1003/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10012013/diff/1003/src/profile-generator.cc#newcode3649 src/profile-generator.cc:3649: for (int i = 1; i < nodes.length(); ++i) ...
8 years, 8 months ago (2012-04-06 11:55:07 UTC) #10
yurys
https://chromiumcodereview.appspot.com/10012013/diff/1003/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10012013/diff/1003/src/profile-generator.cc#newcode3649 src/profile-generator.cc:3649: for (int i = 1; i < nodes.length(); ++i) ...
8 years, 8 months ago (2012-04-06 12:09:38 UTC) #11
alexeif
lgtm
8 years, 8 months ago (2012-04-06 12:10:36 UTC) #12
mnaganov (inactive)
8 years, 8 months ago (2012-04-06 14:08:50 UTC) #13
lgtm

Powered by Google App Engine
This is Rietveld 408576698