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

Issue 840223002: Oilpan: Remove duplicated code between HeapPage and LargeObject (Closed)

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

Description

Oilpan: Remove duplicated code between HeapPage and LargeObject Basically, this CL changes: class ThreadHeap { ...; // Methods for both HeapPages and LargeObjects HeapPage* m_firstPage; LargeObject* m_firstLargeObject; }; to: class ThreadHeap { ...; // Common methods between HeapPages and LargeObjects. BaseHeapPage* m_firstPage; }; class ThreadHeapForHeapPage { ...; // Methods for HeapPages. } class TheadHeapForLargeObject { ...; // Methods for LargeObjects. } and thus remove various duplicated code between HeapPage and LargeObject. To achieve the goal, this CL creates a dedicated ThreadHeap for LargeObjects (i.e., LargeObjectHeap). BUG=446386 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189782 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189953 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190016

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -331 lines) Patch
M Source/platform/heap/Heap.h View 1 2 3 4 5 6 7 8 9 10 19 chunks +89 lines, -97 lines 0 comments Download
M Source/platform/heap/Heap.cpp View 1 2 3 4 5 6 7 8 9 10 40 chunks +139 lines, -229 lines 0 comments Download
M Source/platform/heap/ThreadState.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M Source/platform/heap/ThreadState.cpp View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (5 generated)
haraken
PTAL
5 years, 11 months ago (2015-01-09 05:28:02 UTC) #2
sof
Not convinced this is tidier overall - the presence of many ASSERT()s to check for ...
5 years, 11 months ago (2015-01-09 10:14:57 UTC) #3
haraken
On 2015/01/09 10:14:57, sof wrote: > Not convinced this is tidier overall - the presence ...
5 years, 11 months ago (2015-01-09 15:07:25 UTC) #4
haraken
On 2015/01/09 15:07:25, haraken wrote: > On 2015/01/09 10:14:57, sof wrote: > > Not convinced ...
5 years, 11 months ago (2015-01-14 02:03:27 UTC) #5
haraken
On 2015/01/14 02:03:27, haraken wrote: > On 2015/01/09 15:07:25, haraken wrote: > > On 2015/01/09 ...
5 years, 11 months ago (2015-01-14 05:12:19 UTC) #6
haraken
Retriggering an old issue... On 2015/01/09 10:14:57, sof wrote: > Not convinced this is tidier ...
5 years, 10 months ago (2015-02-02 08:05:09 UTC) #7
haraken
I might want to land this CL to avoid code duplication in https://codereview.chromium.org/903033003/, for example.
5 years, 10 months ago (2015-02-06 06:50:36 UTC) #8
sof
lgtm Consider a followup CL that groups&reorders the methods in Heap.cpp in a more natural ...
5 years, 10 months ago (2015-02-06 09:46:52 UTC) #9
haraken
> Consider a followup CL that groups&reorders the methods in Heap.cpp in a more natural ...
5 years, 10 months ago (2015-02-06 09:59:28 UTC) #10
haraken
Checking oilpan try bots.
5 years, 10 months ago (2015-02-06 10:01:57 UTC) #12
haraken
I think I addressed all test failures... Trying bots.
5 years, 10 months ago (2015-02-09 04:52:10 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/840223002/80001
5 years, 10 months ago (2015-02-09 06:33:59 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://src.chromium.org/viewvc/blink?view=rev&revision=189782
5 years, 10 months ago (2015-02-09 06:37:14 UTC) #16
caseq
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/907943002/ by caseq@chromium.org. ...
5 years, 10 months ago (2015-02-09 17:59:52 UTC) #17
haraken
On 2015/02/09 17:59:52, caseq wrote: > A revert of this CL (patchset #5 id:80001) has ...
5 years, 10 months ago (2015-02-10 02:13:31 UTC) #18
haraken
On 2015/02/10 02:13:31, haraken wrote: > On 2015/02/09 17:59:52, caseq wrote: > > A revert ...
5 years, 10 months ago (2015-02-11 06:29:19 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/840223002/200001
5 years, 10 months ago (2015-02-11 06:29:32 UTC) #21
commit-bot: I haz the power
Committed patchset #11 (id:200001) as https://src.chromium.org/viewvc/blink?view=rev&revision=189953
5 years, 10 months ago (2015-02-11 06:33:05 UTC) #22
sof
On 2015/02/11 06:29:19, haraken wrote: > On 2015/02/10 02:13:31, haraken wrote: > > On 2015/02/09 ...
5 years, 10 months ago (2015-02-11 07:03:02 UTC) #23
haraken
On 2015/02/11 07:03:02, sof wrote: > On 2015/02/11 06:29:19, haraken wrote: > > On 2015/02/10 ...
5 years, 10 months ago (2015-02-11 07:06:06 UTC) #24
pdr.
A revert of this CL (patchset #11 id:200001) has been created in https://codereview.chromium.org/921493003/ by pdr@chromium.org. ...
5 years, 10 months ago (2015-02-11 21:30:14 UTC) #25
haraken
On 2015/02/11 21:30:14, pdr wrote: > A revert of this CL (patchset #11 id:200001) has ...
5 years, 10 months ago (2015-02-12 02:18:15 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/840223002/200001
5 years, 10 months ago (2015-02-12 02:19:00 UTC) #28
commit-bot: I haz the power
5 years, 10 months ago (2015-02-12 02:19:35 UTC) #29
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=190016

Powered by Google App Engine
This is Rietveld 408576698