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

Issue 390823003: v8: make GCTracer persistent. (Closed)

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

Description

v8: make GCTracer persistent. GCTracer will become the central place for logging statistics for scheduled garbage collection. This patch makes GCTracer a member of Heap, so that it is always available for logging. R=hpayer@chromium.org,jochen@chromium.org BUG=

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+246 lines, -257 lines) Patch
M src/global-handles.h View 2 chunks +1 line, -3 lines 0 comments Download
M src/global-handles.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M src/heap.h View 6 chunks +160 lines, -140 lines 3 comments Download
M src/heap.cc View 12 chunks +49 lines, -32 lines 0 comments Download
M src/incremental-marking.h View 2 chunks +0 lines, -25 lines 0 comments Download
M src/incremental-marking.cc View 4 chunks +5 lines, -20 lines 0 comments Download
M src/mark-compact.h View 3 chunks +1 line, -9 lines 0 comments Download
M src/mark-compact.cc View 15 chunks +26 lines, -24 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ernstm
PTAL
6 years, 5 months ago (2014-07-14 11:49:02 UTC) #1
jochen (gone - plz use gerrit)
lgtm https://codereview.chromium.org/390823003/diff/1/src/heap.h File src/heap.h (right): https://codereview.chromium.org/390823003/diff/1/src/heap.h#newcode578 src/heap.h:578: kNumberOfScopes it's a bit odd to mix MACRO_STYLE ...
6 years, 5 months ago (2014-07-14 11:55:33 UTC) #2
Michael Starzinger
We can perform multiple scavenges while the incremental marker (and hence a mark-and-compact GC) is ...
6 years, 5 months ago (2014-07-14 12:04:31 UTC) #3
Michael Starzinger
Also another point, as discussed offline: This seems to be intended to use the numbers ...
6 years, 5 months ago (2014-07-14 12:18:29 UTC) #4
ernstm
On 2014/07/14 12:04:31, Michael Starzinger wrote: > We can perform multiple scavenges while the incremental ...
6 years, 5 months ago (2014-07-14 13:45:16 UTC) #5
ernstm
On 2014/07/14 12:18:29, Michael Starzinger wrote: > Also another point, as discussed offline: This seems ...
6 years, 5 months ago (2014-07-14 13:51:47 UTC) #6
Michael Starzinger
On 2014/07/14 13:45:16, ernstm wrote: > On 2014/07/14 12:04:31, Michael Starzinger wrote: > > We ...
6 years, 5 months ago (2014-07-14 13:54:03 UTC) #7
ernstm
On 2014/07/14 13:54:03, Michael Starzinger wrote: > On 2014/07/14 13:45:16, ernstm wrote: > > On ...
6 years, 5 months ago (2014-07-14 14:34:40 UTC) #8
Hannes Payer (out of office)
On 2014/07/14 13:54:03, Michael Starzinger wrote: > On 2014/07/14 13:45:16, ernstm wrote: > > On ...
6 years, 5 months ago (2014-07-14 14:40:10 UTC) #9
Hannes Payer (out of office)
I think the problem with the tracer is that it holds the state of three ...
6 years, 5 months ago (2014-07-14 15:04:39 UTC) #10
ernstm
6 years, 5 months ago (2014-07-16 07:47:27 UTC) #11
On 2014/07/14 15:04:39, Hannes Payer wrote:
> I think the problem with the tracer is that it holds the state of three
> different gc subsystems. This is a mess. Maybe we should have three tracer
> instances: scavenger, mark-compact, and marking-steps. WDYT? Based on that we
> can also keep a history of events for each subsystem and can simply query the
> given instance.

Per offline discussion, we want to separate tracing of scavenger, mark-compact,
and marking-steps. We also want to make sure that stats use purely for debugging
and profiling are separated from what we use to drive our heuristics (without
duplicating code or measurements). I'll close this CL now and start a new one,
cleaning up the existing GCTracer as a first step.

Powered by Google App Engine
This is Rietveld 408576698