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

Issue 850663002: Oilpan: fix computation of ThreadState::m_collectionRate. (Closed)

Created:
5 years, 11 months ago by sof
Modified:
5 years, 11 months ago
Reviewers:
oilpan-reviews, haraken
CC:
blink-reviews, oilpan-reviews, kouhei+heap_chromium.org, Mads Ager (chromium)
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: fix computation of ThreadState::m_collectionRate. Sample allocated memory/object size before initiating a GC. R=haraken BUG=420515 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188378

Patch Set 1 #

Total comments: 6

Patch Set 2 : rename to m_allocatedObjectSizeBeforeGC #

Patch Set 3 : assert for valid m_collectionRate #

Patch Set 4 : compute m_collectionRate in postGC() #

Total comments: 3

Patch Set 5 : Undo ill-effects of previous patchset #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -7 lines) Patch
M Source/platform/heap/ThreadState.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/heap/ThreadState.cpp View 1 2 3 4 3 chunks +19 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
sof
Please take a look.
5 years, 11 months ago (2015-01-13 10:19:57 UTC) #2
haraken
LGTM https://codereview.chromium.org/850663002/diff/1/Source/platform/heap/ThreadState.cpp File Source/platform/heap/ThreadState.cpp (left): https://codereview.chromium.org/850663002/diff/1/Source/platform/heap/ThreadState.cpp#oldcode1041 Source/platform/heap/ThreadState.cpp:1041: m_allocatedObjectSizeBeforeSweeping = Heap::allocatedObjectSize(); Before this CL, m_allocatedObjectSizeBeforeSweeping was ...
5 years, 11 months ago (2015-01-13 11:56:49 UTC) #4
sof
https://codereview.chromium.org/850663002/diff/1/Source/platform/heap/ThreadState.cpp File Source/platform/heap/ThreadState.cpp (left): https://codereview.chromium.org/850663002/diff/1/Source/platform/heap/ThreadState.cpp#oldcode1041 Source/platform/heap/ThreadState.cpp:1041: m_allocatedObjectSizeBeforeSweeping = Heap::allocatedObjectSize(); On 2015/01/13 11:56:48, haraken wrote: > ...
5 years, 11 months ago (2015-01-13 12:11:54 UTC) #5
haraken
https://codereview.chromium.org/850663002/diff/1/Source/platform/heap/ThreadState.cpp File Source/platform/heap/ThreadState.cpp (left): https://codereview.chromium.org/850663002/diff/1/Source/platform/heap/ThreadState.cpp#oldcode1041 Source/platform/heap/ThreadState.cpp:1041: m_allocatedObjectSizeBeforeSweeping = Heap::allocatedObjectSize(); On 2015/01/13 12:11:53, sof wrote: > ...
5 years, 11 months ago (2015-01-13 12:23:08 UTC) #6
sof
https://codereview.chromium.org/850663002/diff/1/Source/platform/heap/ThreadState.cpp File Source/platform/heap/ThreadState.cpp (left): https://codereview.chromium.org/850663002/diff/1/Source/platform/heap/ThreadState.cpp#oldcode1041 Source/platform/heap/ThreadState.cpp:1041: m_allocatedObjectSizeBeforeSweeping = Heap::allocatedObjectSize(); On 2015/01/13 12:23:08, haraken wrote: > ...
5 years, 11 months ago (2015-01-13 12:35:57 UTC) #7
sof
On 2015/01/13 12:35:57, sof wrote: > https://codereview.chromium.org/850663002/diff/1/Source/platform/heap/ThreadState.cpp > File Source/platform/heap/ThreadState.cpp (left): > > https://codereview.chromium.org/850663002/diff/1/Source/platform/heap/ThreadState.cpp#oldcode1041 > ...
5 years, 11 months ago (2015-01-13 15:01:42 UTC) #8
haraken
On 2015/01/13 15:01:42, sof wrote: > On 2015/01/13 12:35:57, sof wrote: > > > https://codereview.chromium.org/850663002/diff/1/Source/platform/heap/ThreadState.cpp ...
5 years, 11 months ago (2015-01-13 15:05:17 UTC) #9
sof
On 2015/01/13 15:05:17, haraken wrote: > On 2015/01/13 15:01:42, sof wrote: > > On 2015/01/13 ...
5 years, 11 months ago (2015-01-13 22:42:44 UTC) #10
sof
On 2015/01/13 15:01:42, sof wrote: > On 2015/01/13 12:35:57, sof wrote: > > > https://codereview.chromium.org/850663002/diff/1/Source/platform/heap/ThreadState.cpp ...
5 years, 11 months ago (2015-01-13 22:45:30 UTC) #11
haraken
https://codereview.chromium.org/850663002/diff/60001/Source/platform/heap/ThreadState.cpp File Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/850663002/diff/60001/Source/platform/heap/ThreadState.cpp#newcode897 Source/platform/heap/ThreadState.cpp:897: m_collectionRate = 1.0 * Heap::markedObjectSize() / m_allocatedObjectSizeBeforeGC; Heap::markedObjectSize() is ...
5 years, 11 months ago (2015-01-14 01:36:26 UTC) #12
sof
https://codereview.chromium.org/850663002/diff/60001/Source/platform/heap/ThreadState.cpp File Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/850663002/diff/60001/Source/platform/heap/ThreadState.cpp#newcode897 Source/platform/heap/ThreadState.cpp:897: m_collectionRate = 1.0 * Heap::markedObjectSize() / m_allocatedObjectSizeBeforeGC; On 2015/01/14 ...
5 years, 11 months ago (2015-01-14 06:14:28 UTC) #13
sof
https://codereview.chromium.org/850663002/diff/60001/Source/platform/heap/ThreadState.cpp File Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/850663002/diff/60001/Source/platform/heap/ThreadState.cpp#newcode897 Source/platform/heap/ThreadState.cpp:897: m_collectionRate = 1.0 * Heap::markedObjectSize() / m_allocatedObjectSizeBeforeGC; On 2015/01/14 ...
5 years, 11 months ago (2015-01-14 09:53:24 UTC) #14
haraken
On 2015/01/14 09:53:24, sof wrote: > https://codereview.chromium.org/850663002/diff/60001/Source/platform/heap/ThreadState.cpp > File Source/platform/heap/ThreadState.cpp (right): > > https://codereview.chromium.org/850663002/diff/60001/Source/platform/heap/ThreadState.cpp#newcode897 > ...
5 years, 11 months ago (2015-01-14 10:37:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/850663002/80001
5 years, 11 months ago (2015-01-14 12:21:44 UTC) #17
commit-bot: I haz the power
5 years, 11 months ago (2015-01-14 13:05:21 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=188378

Powered by Google App Engine
This is Rietveld 408576698