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

Issue 10096016: Remove Debug object from the user roots in heap profiler. (Closed)

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

Description

Remove Debug object from the user roots in heap profiler. Committed: https://code.google.com/p/v8/source/detail?r=11358

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressing comments. #

Total comments: 9

Patch Set 3 : Addressing comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -18 lines) Patch
M src/profile-generator.h View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M src/profile-generator.cc View 1 2 7 chunks +21 lines, -12 lines 0 comments Download
M test/cctest/test-heap-profiler.cc View 1 2 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
alexeif
8 years, 8 months ago (2012-04-16 17:30:48 UTC) #1
yurys
Can we test this? https://chromiumcodereview.appspot.com/10096016/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10096016/diff/1/src/profile-generator.cc#newcode1996 src/profile-generator.cc:1996: false; You could initialize is_debug_object ...
8 years, 8 months ago (2012-04-16 17:44:15 UTC) #2
mnaganov (inactive)
I would also like to have a test
8 years, 8 months ago (2012-04-16 19:55:29 UTC) #3
alexeif
https://chromiumcodereview.appspot.com/10096016/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10096016/diff/1/src/profile-generator.cc#newcode1996 src/profile-generator.cc:1996: false; On 2012/04/16 17:44:15, Yury Semikhatsky wrote: > You ...
8 years, 8 months ago (2012-04-17 13:43:00 UTC) #4
mnaganov (inactive)
https://chromiumcodereview.appspot.com/10096016/diff/4001/src/profile-generator.h File src/profile-generator.h (right): https://chromiumcodereview.appspot.com/10096016/diff/4001/src/profile-generator.h#newcode1129 src/profile-generator.h:1129: bool IsWindowReference(const HeapGraphEdge& edge); -> IsUserGlobalReference? https://chromiumcodereview.appspot.com/10096016/diff/4001/test/cctest/test-heap-profiler.cc File test/cctest/test-heap-profiler.cc ...
8 years, 8 months ago (2012-04-17 14:16:14 UTC) #5
alexeif
https://chromiumcodereview.appspot.com/10096016/diff/4001/src/profile-generator.h File src/profile-generator.h (right): https://chromiumcodereview.appspot.com/10096016/diff/4001/src/profile-generator.h#newcode1129 src/profile-generator.h:1129: bool IsWindowReference(const HeapGraphEdge& edge); On 2012/04/17 14:16:14, Mikhail Naganov ...
8 years, 8 months ago (2012-04-17 15:30:09 UTC) #6
mnaganov (inactive)
8 years, 8 months ago (2012-04-17 15:35:51 UTC) #7
LGTM

https://chromiumcodereview.appspot.com/10096016/diff/4001/test/cctest/test-he...
File test/cctest/test-heap-profiler.cc (right):

https://chromiumcodereview.appspot.com/10096016/diff/4001/test/cctest/test-he...
test/cctest/test-heap-profiler.cc:1581: const v8::HeapGraphNode* global =
edge->GetToNode();
On 2012/04/17 15:30:10, alexeif wrote:
> On 2012/04/17 14:16:14, Mikhail Naganov (Chromium) wrote:
> > You can use "GetProperty" helper function defined in this file.
> I don't know the name of the user global.

Sorry, I have misread your code.

Powered by Google App Engine
This is Rietveld 408576698