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

Issue 1830723004: Refactor the ring buffer in GCTracer. (Closed)

Created:
4 years, 9 months ago by ulan
Modified:
4 years, 8 months ago
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Refactor the ring buffer in GCTracer. Now instead of saving all event details in the ring buffer, we save only the bytes and duration. This reduces the GCTracer size from 20K to 3K and simplifies code. BUG=chromium:597310 LOG=NO Committed: https://crrev.com/c42b2c4493c128ce6e8d7d32280573a876a5b8c4 Cr-Commit-Position: refs/heads/master@{#35104}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 5

Patch Set 4 : Rebase and rename past to recorded #

Patch Set 5 : Fix cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -459 lines) Patch
M src/heap/gc-tracer.h View 1 2 3 7 chunks +48 lines, -154 lines 0 comments Download
M src/heap/gc-tracer.cc View 1 2 3 10 chunks +66 lines, -180 lines 0 comments Download
M test/cctest/cctest.gyp View 1 1 chunk +0 lines, -1 line 0 comments Download
D test/cctest/test-gc-tracer.cc View 1 1 chunk +0 lines, -124 lines 0 comments Download
A test/unittests/heap/gc-tracer-unittest.cc View 1 2 3 4 1 chunk +49 lines, -0 lines 0 comments Download
M test/unittests/unittests.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
ulan
ptal
4 years, 8 months ago (2016-03-29 11:17:12 UTC) #3
Hannes Payer (out of office)
I like it! LGTM https://codereview.chromium.org/1830723004/diff/40001/src/heap/gc-tracer.cc File src/heap/gc-tracer.cc (right): https://codereview.chromium.org/1830723004/diff/40001/src/heap/gc-tracer.cc#newcode660 src/heap/gc-tracer.cc:660: int GCTracer::AverageSpeed(const RingBuffer<BytesAndDuration>& buffer, How ...
4 years, 8 months ago (2016-03-29 11:37:38 UTC) #4
ulan
Thanks https://codereview.chromium.org/1830723004/diff/40001/src/heap/gc-tracer.cc File src/heap/gc-tracer.cc (right): https://codereview.chromium.org/1830723004/diff/40001/src/heap/gc-tracer.cc#newcode660 src/heap/gc-tracer.cc:660: int GCTracer::AverageSpeed(const RingBuffer<BytesAndDuration>& buffer, On 2016/03/29 11:37:38, Hannes ...
4 years, 8 months ago (2016-03-29 12:13:07 UTC) #5
Hannes Payer (out of office)
https://codereview.chromium.org/1830723004/diff/40001/src/heap/gc-tracer.cc File src/heap/gc-tracer.cc (right): https://codereview.chromium.org/1830723004/diff/40001/src/heap/gc-tracer.cc#newcode660 src/heap/gc-tracer.cc:660: int GCTracer::AverageSpeed(const RingBuffer<BytesAndDuration>& buffer, On 2016/03/29 12:13:07, ulan wrote: ...
4 years, 8 months ago (2016-03-29 12:18:34 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1830723004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1830723004/80001
4 years, 8 months ago (2016-03-29 12:20:20 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-03-29 12:51:48 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-03-29 12:52:14 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c42b2c4493c128ce6e8d7d32280573a876a5b8c4
Cr-Commit-Position: refs/heads/master@{#35104}

Powered by Google App Engine
This is Rietveld 408576698