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

Issue 2129173002: [heap] Rework and improve object stats tracing (Closed)

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

Description

[heap] Rework and improve object stats tracing - Instead of tracing during marking we can now trace in a separate phase in MC. (Heap is iterable.) - Add more subtypes for fixed arrays, reducing the unknown bucket to around ~8% (local run). - Refactor collection calls to have a single bottleneck. - Provide JSON-based output format that can be "easily" processed in JS. BUG= R=ulan@chromium.org,hpayer@chromium.org Committed: https://crrev.com/2b2a1694908210ee8083b6112efe82905beae552 Cr-Commit-Position: refs/heads/master@{#37718}

Patch Set 1 #

Patch Set 2 #

Patch Set 3 : Make JSObject specific recording explicit #

Patch Set 4 : Removed old tracing printer #

Patch Set 5 : Refactoring #

Total comments: 4

Patch Set 6 : Don't double account for enum caches #

Patch Set 7 #

Total comments: 2

Patch Set 8 : Record COW arrays as subtype #

Total comments: 2

Patch Set 9 : Addressed comments and more subtypes for fixed arrays #

Patch Set 10 : Add recording of literals array and typefeedback vector. lexically sort sub types #

Patch Set 11 : Only create ObjectStats conditionally (when the flag is enabled) #

Patch Set 12 : Rebase and fix accessing markbits #

Patch Set 13 : Fix compilation on Windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+378 lines, -204 lines) Patch
M src/heap/heap.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +21 lines, -9 lines 0 comments Download
M src/heap/incremental-marking.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -3 lines 0 comments Download
M src/heap/mark-compact.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -0 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +42 lines, -11 lines 0 comments Download
M src/heap/object-stats.h View 1 2 3 4 4 chunks +47 lines, -34 lines 0 comments Download
M src/heap/object-stats.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +244 lines, -141 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +18 lines, -5 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 52 (44 generated)
Michael Lippautz
ulan,hannes: ptal mythri: fyi https://codereview.chromium.org/2129173002/diff/480001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/2129173002/diff/480001/src/heap/mark-compact.cc#newcode2303 src/heap/mark-compact.cc:2303: SpaceIterator space_it(heap()); Hannes: Your HeapObjectIterator ...
4 years, 5 months ago (2016-07-13 10:10:00 UTC) #23
Hannes Payer (out of office)
https://codereview.chromium.org/2129173002/diff/480001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/2129173002/diff/480001/src/heap/mark-compact.cc#newcode2303 src/heap/mark-compact.cc:2303: SpaceIterator space_it(heap()); On 2016/07/13 10:10:00, Michael Lippautz wrote: > ...
4 years, 5 months ago (2016-07-13 11:39:11 UTC) #24
Michael Lippautz
All addressed. With the current sub typing info for fixed array we lack sub type ...
4 years, 5 months ago (2016-07-13 12:20:17 UTC) #27
Hannes Payer (out of office)
lgtm
4 years, 5 months ago (2016-07-13 12:56:00 UTC) #28
ulan
lgtm
4 years, 5 months ago (2016-07-13 13:43:55 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2129173002/670001
4 years, 5 months ago (2016-07-13 14:50:17 UTC) #48
commit-bot: I haz the power
Committed patchset #13 (id:670001)
4 years, 5 months ago (2016-07-13 14:54:03 UTC) #50
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 14:55:47 UTC) #52
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/2b2a1694908210ee8083b6112efe82905beae552
Cr-Commit-Position: refs/heads/master@{#37718}

Powered by Google App Engine
This is Rietveld 408576698