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

Issue 10872074: Report the reason for a garbage collection when verbose GC is enabled. (Closed)

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

Description

Report the reason for a garbage collection when verbose GC is enabled. Committed: https://code.google.com/p/dart/source/detail?r=11485

Patch Set 1 #

Total comments: 3

Patch Set 2 : address review comments #

Patch Set 3 : rename a parameter consistently #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -18 lines) Patch
M runtime/vm/dart_api_impl_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/heap.h View 1 2 chunks +12 lines, -0 lines 0 comments Download
M runtime/vm/heap.cc View 1 3 chunks +37 lines, -8 lines 0 comments Download
M runtime/vm/pages.h View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/pages.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/scavenger.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/scavenger.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
cshapiro
8 years, 3 months ago (2012-08-25 04:55:39 UTC) #1
siva
lgtm http://codereview.chromium.org/10872074/diff/1/runtime/vm/heap.cc File runtime/vm/heap.cc (right): http://codereview.chromium.org/10872074/diff/1/runtime/vm/heap.cc#newcode191 runtime/vm/heap.cc:191: code_space_->MarkSweep(invoke_api_callbacks, "code space"); Can we list these reasons ...
8 years, 3 months ago (2012-08-27 16:54:49 UTC) #2
Ivan Posva
LGTM with comments. -Ivan https://chromiumcodereview.appspot.com/10872074/diff/1/runtime/vm/heap.cc File runtime/vm/heap.cc (right): https://chromiumcodereview.appspot.com/10872074/diff/1/runtime/vm/heap.cc#newcode191 runtime/vm/heap.cc:191: code_space_->MarkSweep(invoke_api_callbacks, "code space"); On 2012/08/27 ...
8 years, 3 months ago (2012-08-27 22:04:23 UTC) #3
cshapiro
If you want to avoid having random strings we can probably do better... The last ...
8 years, 3 months ago (2012-08-27 22:04:45 UTC) #4
Ivan Posva
On 2012/08/27 22:04:45, cshapiro wrote: > If you want to avoid having random strings we ...
8 years, 3 months ago (2012-08-27 22:08:16 UTC) #5
cshapiro
PTAL I might be reading into the comments too much, but there seems to be ...
8 years, 3 months ago (2012-08-28 03:34:29 UTC) #6
Ivan Posva
8 years, 3 months ago (2012-08-28 23:44:59 UTC) #7
LGTM, at some point we should consolidate the verbose GC output into its own are
so that all collectors use a unified format.

-Ivan

Powered by Google App Engine
This is Rietveld 408576698