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

Issue 391413006: Track history of events in GCTracer. (Closed)

Created:
6 years, 5 months ago by ernstm
Modified:
6 years, 5 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Track history of events in GCTracer. - track incremental marking stats directly on GCTracer. - add simple ring buffer class. - track last 10 scavenges and mark-compacts in ring buffers on GCTracer. - various clean-ups. R=hpayer@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=22567

Patch Set 1 #

Patch Set 2 : Reset longest step in Stop() + remove obsolete code. #

Total comments: 9

Patch Set 3 : RingBuffer fixes and unit test. Event::Type. Separte ring buffer members. #

Total comments: 20

Patch Set 4 : Clean-ups. #

Patch Set 5 : Explicitly track current and previous events. #

Total comments: 13

Patch Set 6 : Clean-ups #

Unified diffs Side-by-side diffs Delta from patch set Stats (+498 lines, -232 lines) Patch
M src/heap.h View 1 2 3 4 5 5 chunks +183 lines, -54 lines 0 comments Download
M src/heap.cc View 1 2 3 4 5 8 chunks +183 lines, -139 lines 0 comments Download
M src/incremental-marking.h View 2 chunks +0 lines, -24 lines 0 comments Download
M src/incremental-marking.cc View 1 5 chunks +1 line, -15 lines 0 comments Download
M test/cctest/cctest.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A test/cctest/test-gc-tracer.cc View 1 2 3 4 1 chunk +130 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ernstm
PTAL
6 years, 5 months ago (2014-07-21 16:01:44 UTC) #1
Hannes Payer (out of office)
I like it! First round of comments. https://codereview.chromium.org/391413006/diff/20001/src/globals.h File src/globals.h (right): https://codereview.chromium.org/391413006/diff/20001/src/globals.h#newcode361 src/globals.h:361: enum GarbageCollector ...
6 years, 5 months ago (2014-07-22 09:10:17 UTC) #2
ernstm
- fixed RingBuffer. - added unit test for RingBuffer - separate RingBuffer members for scavenge ...
6 years, 5 months ago (2014-07-22 14:09:29 UTC) #3
ernstm
https://codereview.chromium.org/391413006/diff/20001/src/heap.h File src/heap.h (right): https://codereview.chromium.org/391413006/diff/20001/src/heap.h#newcode749 src/heap.h:749: EventBuffer event_buffers_[2]; On 2014/07/22 14:09:28, ernstm wrote: > On ...
6 years, 5 months ago (2014-07-22 14:10:26 UTC) #4
Hannes Payer (out of office)
https://codereview.chromium.org/391413006/diff/40001/src/heap.cc File src/heap.cc (right): https://codereview.chromium.org/391413006/diff/40001/src/heap.cc#newcode5974 src/heap.cc:5974: GCTracer::Event::Event() Why do we need the default constructor? https://codereview.chromium.org/391413006/diff/40001/src/heap.cc#newcode6059 ...
6 years, 5 months ago (2014-07-22 15:21:31 UTC) #5
ernstm
https://codereview.chromium.org/391413006/diff/40001/src/heap.cc File src/heap.cc (right): https://codereview.chromium.org/391413006/diff/40001/src/heap.cc#newcode5974 src/heap.cc:5974: GCTracer::Event::Event() On 2014/07/22 15:21:30, Hannes Payer wrote: > Why ...
6 years, 5 months ago (2014-07-22 15:57:25 UTC) #6
Hannes Payer (out of office)
https://codereview.chromium.org/391413006/diff/40001/src/heap.cc File src/heap.cc (right): https://codereview.chromium.org/391413006/diff/40001/src/heap.cc#newcode5974 src/heap.cc:5974: GCTracer::Event::Event() On 2014/07/22 15:57:24, ernstm wrote: > On 2014/07/22 ...
6 years, 5 months ago (2014-07-22 16:29:12 UTC) #7
ernstm
https://codereview.chromium.org/391413006/diff/40001/src/heap.h File src/heap.h (right): https://codereview.chromium.org/391413006/diff/40001/src/heap.h#newcode607 src/heap.h:607: end_ = (end_ + 1) % (MAX_SIZE + 1); ...
6 years, 5 months ago (2014-07-23 10:32:26 UTC) #8
Hannes Payer (out of office)
LGTM, just nits. https://codereview.chromium.org/391413006/diff/80001/src/heap.cc File src/heap.cc (right): https://codereview.chromium.org/391413006/diff/80001/src/heap.cc#newcode6082 src/heap.cc:6082: Max(current_.start_time - previous_.end_time, 0.0); Can this ...
6 years, 5 months ago (2014-07-23 14:35:16 UTC) #9
ernstm
https://codereview.chromium.org/391413006/diff/80001/src/heap.cc File src/heap.cc (right): https://codereview.chromium.org/391413006/diff/80001/src/heap.cc#newcode6082 src/heap.cc:6082: Max(current_.start_time - previous_.end_time, 0.0); On 2014/07/23 14:35:15, Hannes Payer ...
6 years, 5 months ago (2014-07-23 14:59:27 UTC) #10
ernstm
6 years, 5 months ago (2014-07-23 15:17:03 UTC) #11
Message was sent while issue was closed.
Committed patchset #6 manually as r22567 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698