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

Issue 2132005: Improved GC statistics (cumulative and per collection). (Closed)

Created:
10 years, 7 months ago by Vyacheslav Egorov (Chromium)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Improved GC statistics. Collect cumulative (--print-cumulative-gc-stat) and per collection (--trace-gc-nvp) GC statistics and output it in a machine-readable name=value format. Committed: http://code.google.com/p/v8/source/detail?r=4675

Patch Set 1 #

Patch Set 2 : happy linter #

Total comments: 7

Patch Set 3 : fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+487 lines, -26 lines) Patch
M src/flag-definitions.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/heap.h View 1 2 7 chunks +68 lines, -10 lines 0 comments Download
M src/heap.cc View 1 2 10 chunks +124 lines, -16 lines 0 comments Download
M src/mark-compact.cc View 5 chunks +8 lines, -0 lines 0 comments Download
A tools/gc-nvp-trace-processor.py View 1 chunk +282 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Vyacheslav Egorov (Chromium)
10 years, 7 months ago (2010-05-17 20:26:06 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/2132005/diff/2001/3002 File src/heap.cc (right): http://codereview.chromium.org/2132005/diff/2001/3002#newcode649 src/heap.cc:649: if (MarkCompactCollector::IsCompacting()) { Seems like a left-over change ...
10 years, 7 months ago (2010-05-18 08:57:48 UTC) #2
Vyacheslav Egorov (Chromium)
http://codereview.chromium.org/2132005/diff/2001/3002 File src/heap.cc (right): http://codereview.chromium.org/2132005/diff/2001/3002#newcode649 src/heap.cc:649: if (MarkCompactCollector::IsCompacting()) { On 2010/05/18 08:57:48, Mads Ager wrote: ...
10 years, 7 months ago (2010-05-18 09:06:32 UTC) #3
Mads Ager (chromium)
http://codereview.chromium.org/2132005/diff/2001/3002 File src/heap.cc (right): http://codereview.chromium.org/2132005/diff/2001/3002#newcode649 src/heap.cc:649: if (MarkCompactCollector::IsCompacting()) { On 2010/05/18 09:06:32, Vyacheslav Egorov wrote: ...
10 years, 7 months ago (2010-05-18 09:46:55 UTC) #4
Vyacheslav Egorov (Chromium)
10 years, 7 months ago (2010-05-18 16:35:03 UTC) #5
http://codereview.chromium.org/2132005/diff/2001/3003
File src/heap.h (right):

http://codereview.chromium.org/2132005/diff/2001/3003#newcode1647
src/heap.h:1647: explicit Scope(GCTracer* tracer, ScopeId scope)
On 2010/05/18 08:57:48, Mads Ager wrote:
> You can remove |explicit| now.

Done.

http://codereview.chromium.org/2132005/diff/2001/3003#newcode1740
src/heap.h:1740: int start_holes_;
On 2010/05/18 08:57:48, Mads Ager wrote:
> |start_holes_| doesn't really capture what the comment is saying. How about:
> in_free_list_or_wasted_?

I renamed the field but in fact free list nodes and wasted bytes form exactly
"holes" in old space.

Powered by Google App Engine
This is Rietveld 408576698