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

Issue 11595006: Precisely measure duration of mark and sweep phases. Changed print_cumulative_gc_stat flag to only … (Closed)

Created:
8 years ago by Hannes Payer (out of office)
Modified:
7 years, 10 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Precisely measure duration of mark and sweep phases. Changed print_cumulative_gc_stat flag to only print GC statistics at end of program. BUG= Committed: https://code.google.com/p/v8/source/detail?r=13551

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -9 lines) Patch
M src/heap.h View 1 2 3 3 chunks +24 lines, -1 line 0 comments Download
M src/heap.cc View 1 2 4 chunks +8 lines, -1 line 0 comments Download
M src/incremental-marking.cc View 1 3 chunks +16 lines, -7 lines 0 comments Download
M src/mark-compact.cc View 4 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Hannes Payer (out of office)
7 years, 10 months ago (2013-01-28 11:50:22 UTC) #1
Michael Starzinger
One round of comments. As a high level comment: We might want to consider extending ...
7 years, 10 months ago (2013-01-28 13:55:38 UTC) #2
Hannes Payer (out of office)
https://chromiumcodereview.appspot.com/11595006/diff/2001/src/heap.cc File src/heap.cc (right): https://chromiumcodereview.appspot.com/11595006/diff/2001/src/heap.cc#newcode6909 src/heap.cc:6909: heap_->incremental_marking()->steps_took_since_last_gc(); I think the current solution is the "cleanest" ...
7 years, 10 months ago (2013-01-29 12:01:54 UTC) #3
Michael Starzinger
LGTM (if final nits are addressed). As discussed offline: You convinced me that this is ...
7 years, 10 months ago (2013-01-29 12:13:47 UTC) #4
Hannes Payer (out of office)
7 years, 10 months ago (2013-01-30 10:42:20 UTC) #5
https://chromiumcodereview.appspot.com/11595006/diff/5002/src/heap.h
File src/heap.h (right):

https://chromiumcodereview.appspot.com/11595006/diff/5002/src/heap.h#newcode564
src/heap.h:564: // TODO(hpayer): remove, should be handled by GCTracer
On 2013/01/29 12:13:47, Michael Starzinger wrote:
> Move all of these accessors down to where the others are declared.

Done.

https://chromiumcodereview.appspot.com/11595006/diff/5002/src/heap.h#newcode1598
src/heap.h:1598: 
On 2013/01/29 12:13:47, Michael Starzinger wrote:
> ... to here.

Done.

https://chromiumcodereview.appspot.com/11595006/diff/5002/src/heap.h#newcode2180
src/heap.h:2180: // GC time spent in marking
On 2013/01/29 12:13:47, Michael Starzinger wrote:
> s/GC time/Cumulative GC time/

Done.

https://chromiumcodereview.appspot.com/11595006/diff/5002/src/heap.h#newcode2183
src/heap.h:2183: // GC time spent in sweeping
On 2013/01/29 12:13:47, Michael Starzinger wrote:
> Likewise.

Done.

Powered by Google App Engine
This is Rietveld 408576698