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

Issue 11478012: Provide a mechanism for dumping of heap profiles on predefined events. (Closed)

Created:
8 years ago by cshapiro
Modified:
8 years ago
Reviewers:
Tom Ball, siva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Provide a mechanism for dumping of heap profiles on predefined events. Committed: https://code.google.com/p/dart/source/detail?r=15940

Patch Set 1 #

Total comments: 6

Patch Set 2 : address review comments #

Patch Set 3 : address review comments #

Total comments: 1

Patch Set 4 : make the heap profiler work #

Patch Set 5 : cosmetic changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -6 lines) Patch
M runtime/vm/dart.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/exceptions.cc View 1 2 3 3 chunks +11 lines, -1 line 0 comments Download
M runtime/vm/heap.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/heap.cc View 1 1 chunk +20 lines, -0 lines 0 comments Download
M runtime/vm/heap_profiler.cc View 1 2 3 4 2 chunks +13 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
cshapiro
8 years ago (2012-12-06 23:42:08 UTC) #1
siva
https://codereview.chromium.org/11478012/diff/1/runtime/vm/exceptions.cc File runtime/vm/exceptions.cc (right): https://codereview.chromium.org/11478012/diff/1/runtime/vm/exceptions.cc#newcode179 runtime/vm/exceptions.cc:179: if (incoming_exception.Equals(out_of_memory)) { The handle and if check seems ...
8 years ago (2012-12-07 00:33:02 UTC) #2
cshapiro
Sorry about the noise but I got this error The following errors occured: Base files ...
8 years ago (2012-12-08 07:29:45 UTC) #3
siva
8 years ago (2012-12-10 05:06:36 UTC) #4
LGTM

https://codereview.chromium.org/11478012/diff/7001/runtime/vm/isolate.cc
File runtime/vm/isolate.cc (right):

https://codereview.chromium.org/11478012/diff/7001/runtime/vm/isolate.cc#newc...
runtime/vm/isolate.cc:149: exception ^= result.raw();
I think this else part is not needed and the OOM check can be done under
if (result.IsUnhandledException()) {
  ....
   ...
} itself.

Powered by Google App Engine
This is Rietveld 408576698