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

Issue 11428067: Merge the Merlin heap tracing to top-of-trunk. (Closed)

Created:
8 years ago by cshapiro
Modified:
7 years, 11 months ago
Reviewers:
siva, Ivan Posva
CC:
reviews_dartlang.org, payer
Visibility:
Public.

Description

Merge the Merlin heap tracing to top-of-trunk.

Patch Set 1 #

Patch Set 2 : rebased #

Patch Set 3 : add missing files #

Patch Set 4 : add yet another missing file #

Total comments: 35

Patch Set 5 : address review comments #

Patch Set 6 : address remaining review comments #

Total comments: 18

Patch Set 7 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1081 lines, -19 lines) Patch
M runtime/vm/assembler_ia32.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/assembler_ia32.cc View 1 2 3 4 5 6 5 chunks +22 lines, -0 lines 0 comments Download
M runtime/vm/class_table.cc View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/code_generator.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 2 3 4 5 6 1 chunk +16 lines, -0 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 3 4 5 6 3 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/gc_sweeper.cc View 4 chunks +12 lines, -1 line 0 comments Download
M runtime/vm/handles.h View 1 2 3 4 5 6 6 chunks +24 lines, -2 lines 0 comments Download
M runtime/vm/handles_impl.h View 1 2 3 4 5 6 6 chunks +63 lines, -2 lines 0 comments Download
M runtime/vm/heap.h View 1 2 3 4 5 6 3 chunks +8 lines, -0 lines 0 comments Download
M runtime/vm/heap.cc View 1 2 3 4 5 6 4 chunks +16 lines, -7 lines 0 comments Download
A runtime/vm/heap_trace.h View 1 2 3 4 5 1 chunk +213 lines, -0 lines 0 comments Download
A runtime/vm/heap_trace.cc View 1 2 3 4 5 6 1 chunk +488 lines, -0 lines 0 comments Download
A runtime/vm/heap_trace_test.cc View 1 2 3 4 5 6 1 chunk +104 lines, -0 lines 0 comments Download
M runtime/vm/object_set.h View 1 2 3 4 5 4 chunks +46 lines, -6 lines 0 comments Download
M runtime/vm/pages.cc View 1 2 3 4 5 6 3 chunks +9 lines, -0 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 5 6 6 chunks +11 lines, -1 line 0 comments Download
M runtime/vm/scavenger.cc View 1 2 3 4 5 6 5 chunks +21 lines, -0 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/zone.cc View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
cshapiro
8 years ago (2012-11-29 01:40:41 UTC) #1
cshapiro
8 years ago (2012-12-04 02:31:47 UTC) #2
cshapiro
Ping?
8 years ago (2012-12-04 03:59:20 UTC) #3
Ivan Posva
I will not be able to get through all of this today. But here is ...
8 years ago (2012-12-04 16:32:52 UTC) #4
cshapiro
https://codereview.chromium.org/11428067/diff/5001/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/11428067/diff/5001/runtime/include/dart_api.h#newcode2763 runtime/include/dart_api.h:2763: DART_EXPORT void Dart_InitHeapTrace(Dart_FileOpenCallback open_function, Sure, I can do that. ...
8 years ago (2012-12-04 21:13:32 UTC) #5
siva
I uploaded the initial set of comments I had so far. I am still going ...
8 years ago (2012-12-05 16:06:40 UTC) #6
cshapiro
PTAL I would really like to get this checked in soon. https://codereview.chromium.org/11428067/diff/5001/runtime/vm/assembler_ia32.cc File runtime/vm/assembler_ia32.cc (right): ...
8 years ago (2012-12-08 03:23:08 UTC) #7
cshapiro
Ping?
8 years ago (2012-12-13 00:41:58 UTC) #8
siva
lgtm with some nits. I haven't gone over the heap_trace* files in detail. I will ...
8 years ago (2012-12-14 02:11:54 UTC) #9
cshapiro
8 years ago (2012-12-15 19:56:49 UTC) #10
https://codereview.chromium.org/11428067/diff/17001/runtime/vm/assembler_ia32.cc
File runtime/vm/assembler_ia32.cc (right):

https://codereview.chromium.org/11428067/diff/17001/runtime/vm/assembler_ia32...
runtime/vm/assembler_ia32.cc:1657: const Object& value) {
Comment added.

https://codereview.chromium.org/11428067/diff/17001/runtime/vm/handles.h
File runtime/vm/handles.h (right):

https://codereview.chromium.org/11428067/diff/17001/runtime/vm/handles.h#newc...
runtime/vm/handles.h:88: // Visit only the scoped handles
On 2012/12/14 02:11:54, siva wrote:
> missing period.

Done.

https://codereview.chromium.org/11428067/diff/17001/runtime/vm/handles_impl.h
File runtime/vm/handles_impl.h (right):

https://codereview.chromium.org/11428067/diff/17001/runtime/vm/handles_impl.h...
runtime/vm/handles_impl.h:84: } while (block != NULL);
Sure can.  Done.

https://codereview.chromium.org/11428067/diff/17001/runtime/vm/heap_trace.cc
File runtime/vm/heap_trace.cc (right):

https://codereview.chromium.org/11428067/diff/17001/runtime/vm/heap_trace.cc#...
runtime/vm/heap_trace.cc:38: void VisitPointers(RawObject** first, RawObject**
last) {
Probably not, at least not without defining a const VisitPointers method in
ObjectPointerVisitor.  We could add that, but it would probably require some
changes to ObjectPointerVisitor.

https://codereview.chromium.org/11428067/diff/17001/runtime/vm/heap_trace.cc#...
runtime/vm/heap_trace.cc:60: // TODO(nricci): replace this with a map or
something else sparse.
Fixed.

https://codereview.chromium.org/11428067/diff/17001/runtime/vm/heap_trace.cc#...
runtime/vm/heap_trace.cc:61: ObjectSet* object_set_;
Done.

https://codereview.chromium.org/11428067/diff/17001/runtime/vm/heap_trace.cc#...
runtime/vm/heap_trace.cc:88: HeapTrace* heap_trace_;
Done.

https://codereview.chromium.org/11428067/diff/17001/runtime/vm/heap_trace.cc#...
runtime/vm/heap_trace.cc:113: HeapTrace* heap_trace_;
Done.

https://codereview.chromium.org/11428067/diff/17001/runtime/vm/heap_trace.cc#...
runtime/vm/heap_trace.cc:127: HeapTrace* heap_trace_;
Done.

Powered by Google App Engine
This is Rietveld 408576698