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

Issue 8046006: Add v8::HeapGraphNode::GetHeapValue method. (Closed)

Created:
9 years, 2 months ago by mnaganov (inactive)
Modified:
9 years, 2 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add v8::HeapGraphNode::GetHeapValue method. This allows getting a heap object by a heap snapshot node for further inspection. Very useful for objects from bindings that mostly have getter-provided fields. R=vegorov@google.com BUG=webkit/61179 TEST=test-heap-profiler/GetHeapValue,GetHeapValueForDeletedObject Committed: http://code.google.com/p/v8/source/detail?r=9430

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -35 lines) Patch
M include/v8-profiler.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/api.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M src/profile-generator.h View 2 chunks +3 lines, -0 lines 0 comments Download
M src/profile-generator.cc View 3 chunks +27 lines, -2 lines 4 comments Download
M test/cctest/test-heap-profiler.cc View 25 chunks +89 lines, -33 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
mnaganov (inactive)
9 years, 2 months ago (2011-09-26 14:17:16 UTC) #1
Vyacheslav Egorov (Chromium)
http://codereview.chromium.org/8046006/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): http://codereview.chromium.org/8046006/diff/1/src/profile-generator.cc#newcode1540 src/profile-generator.cc:1540: if (ids_.FindObject(obj->address()) == id) { this is not going ...
9 years, 2 months ago (2011-09-26 14:22:09 UTC) #2
mnaganov (inactive)
http://codereview.chromium.org/8046006/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): http://codereview.chromium.org/8046006/diff/1/src/profile-generator.cc#newcode1540 src/profile-generator.cc:1540: if (ids_.FindObject(obj->address()) == id) { On 2011/09/26 14:22:10, Vyacheslav ...
9 years, 2 months ago (2011-09-26 14:28:18 UTC) #3
Vyacheslav Egorov (Chromium)
9 years, 2 months ago (2011-09-26 14:32:44 UTC) #4
Sorry, I've completely forgotten about ObjectMove events, shame on me!

LGTM.

Powered by Google App Engine
This is Rietveld 408576698