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

Issue 903033003: Oilpan: Implement mark/sweep stats collection for free list profiler. (Closed)

Created:
5 years, 10 months ago by Yuta Kitamura
Modified:
5 years, 10 months ago
CC:
blink-reviews, haraken, oilpan-reviews, kouhei+heap_chromium.org, Mads Ager (chromium)
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: Implement mark/sweep stats collection for free list profiler. This patch is a follow-up of https://codereview.chromium.org/883233003. It implements a data collector of marking and sweeping stats, completing all the features that keishi's original WIP patch has implemented. The code structure has radically changed from keishi's original patch in order to organize the profiling code consistently. Especially, keishi's original patch hooked the marking process to count marked objects, but in my patch these objects are counted after all objects are marked (in postGC()), at which point sweeping stats are collected, too. To align with these, existing code for heap snapshotting is also moved to postGC(). BUG=454273 R=haraken@chromium.org, keishi@chromium.org, oilpan-reviews@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189638

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -14 lines) Patch
M Source/platform/heap/Heap.h View 5 chunks +14 lines, -2 lines 0 comments Download
M Source/platform/heap/Heap.cpp View 6 chunks +83 lines, -2 lines 2 comments Download
M Source/platform/heap/ThreadState.h View 3 chunks +12 lines, -0 lines 0 comments Download
M Source/platform/heap/ThreadState.cpp View 4 chunks +53 lines, -10 lines 4 comments Download

Messages

Total messages: 8 (1 generated)
Yuta Kitamura
5 years, 10 months ago (2015-02-06 06:08:00 UTC) #1
haraken
Mostly looks good. https://codereview.chromium.org/903033003/diff/1/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/903033003/diff/1/Source/platform/heap/Heap.cpp#newcode1841 Source/platform/heap/Heap.cpp:1841: HeapObjectHeader* header = nullptr; You can ...
5 years, 10 months ago (2015-02-06 06:39:20 UTC) #2
Yuta Kitamura
https://codereview.chromium.org/903033003/diff/1/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/903033003/diff/1/Source/platform/heap/Heap.cpp#newcode1841 Source/platform/heap/Heap.cpp:1841: HeapObjectHeader* header = nullptr; On 2015/02/06 06:39:20, haraken wrote: ...
5 years, 10 months ago (2015-02-06 07:45:45 UTC) #3
haraken
LGTM https://codereview.chromium.org/903033003/diff/1/Source/platform/heap/ThreadState.cpp File Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/903033003/diff/1/Source/platform/heap/ThreadState.cpp#newcode1321 Source/platform/heap/ThreadState.cpp:1321: if (!isMainThread()) On 2015/02/06 07:45:45, Yuta Kitamura wrote: ...
5 years, 10 months ago (2015-02-06 07:51:50 UTC) #4
keishi
LGTM https://codereview.chromium.org/903033003/diff/1/Source/platform/heap/ThreadState.cpp File Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/903033003/diff/1/Source/platform/heap/ThreadState.cpp#newcode1321 Source/platform/heap/ThreadState.cpp:1321: if (!isMainThread()) On 2015/02/06 07:51:50, haraken wrote: > ...
5 years, 10 months ago (2015-02-06 08:21:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/903033003/1
5 years, 10 months ago (2015-02-06 11:00:00 UTC) #7
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 12:56:52 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189638

Powered by Google App Engine
This is Rietveld 408576698