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

Issue 9316092: Heap profiler should report implicit references (Closed)

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

Description

Heap profiler should report implicit references. Implicit references reported to V8 with V8::AddImplicitReferences calls are now reported by heap profiler as 'native' references with type kInternal. Original WebKit bug report: https://bugs.webkit.org/show_bug.cgi?id=77414 Committed: https://code.google.com/p/v8/source/detail?r=10603

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 13

Patch Set 5 : '' #

Total comments: 4

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -12 lines) Patch
M src/profile-generator.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/profile-generator.cc View 1 2 3 4 2 chunks +35 lines, -12 lines 0 comments Download
M test/cctest/test-heap-profiler.cc View 1 2 3 4 5 1 chunk +69 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
yurys
8 years, 10 months ago (2012-02-03 12:21:48 UTC) #1
loislo
On 2012/02/03 12:21:48, Yury Semikhatsky wrote: looks good
8 years, 10 months ago (2012-02-03 13:30:29 UTC) #2
mnaganov (inactive)
https://chromiumcodereview.appspot.com/9316092/diff/3005/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/9316092/diff/3005/src/profile-generator.cc#newcode2801 src/profile-generator.cc:2801: "native", Does this look descriptive enough? If implicit refs ...
8 years, 10 months ago (2012-02-03 13:57:19 UTC) #3
yurys
https://chromiumcodereview.appspot.com/9316092/diff/3005/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/9316092/diff/3005/src/profile-generator.cc#newcode2801 src/profile-generator.cc:2801: "native", On 2012/02/03 13:57:19, Mikhail Naganov (Chromium) wrote: > ...
8 years, 10 months ago (2012-02-03 14:09:25 UTC) #4
mnaganov (inactive)
LGTM with 2 comments to fix. https://chromiumcodereview.appspot.com/9316092/diff/3005/test/cctest/test-heap-profiler.cc File test/cctest/test-heap-profiler.cc (right): https://chromiumcodereview.appspot.com/9316092/diff/3005/test/cctest/test-heap-profiler.cc#newcode813 test/cctest/test-heap-profiler.cc:813: for (int i ...
8 years, 10 months ago (2012-02-03 14:23:41 UTC) #5
yurys
8 years, 10 months ago (2012-02-03 14:50:57 UTC) #6
https://chromiumcodereview.appspot.com/9316092/diff/2004/test/cctest/test-hea...
File test/cctest/test-heap-profiler.cc (right):

https://chromiumcodereview.appspot.com/9316092/diff/2004/test/cctest/test-hea...
test/cctest/test-heap-profiler.cc:831: // 1 -> 2, 1 -> 3
On 2012/02/03 14:23:41, Mikhail Naganov (Chromium) wrote:
> Then please add "(note length = 2)" for clarity.

Done.

https://chromiumcodereview.appspot.com/9316092/diff/2004/test/cctest/test-hea...
test/cctest/test-heap-profiler.cc:836: v8::Persistent<v8::Value> objects_[4];
On 2012/02/03 14:23:41, Mikhail Naganov (Chromium) wrote:
> OK, at least, please introduce a constant for the array length.

Done.

Powered by Google App Engine
This is Rietveld 408576698