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

Issue 869323003: Oilpan: move RenderObjects off heap. (Closed)

Created:
5 years, 10 months ago by sof
Modified:
5 years, 10 months ago
CC:
blink-reviews, dshwang, eae+blinkwatch, fs, eric.carlson_apple.com, kouhei+svg_chromium.org, rwlbuis, krit, blink-reviews-dom_chromium.org, dglazkov+blink, jchaffraix+rendering, blink-reviews-paint_chromium.org, pdr+svgwatchlist_chromium.org, jfernandez, philipj_slow, Mads Ager (chromium), zoltan1, Manuel Rego, Dominik Röttsches, feature-media-reviews_chromium.org, gyuyoung.kim_webkit.org, blink-reviews-rendering, svillar, pdr+renderingwatchlist_chromium.org, leviw+renderwatch, slimming-paint-reviews_chromium.org, blink-layers+watch_chromium.org, ed+blinkwatch_opera.com, f(malita), oilpan-reviews, Stephen Chennney, kouhei+heap_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: move RenderObjects off heap. Have the RenderObject hierarchy no longer be Oilpan heap allocated, keeping its objects allocated via PartitionAlloc when Oilpan is enabled also. No separate & conditional code path is provided for "backwards compatibility" of re-enabling Oilpan for these objects. R=haraken,tkent BUG=398342 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189496

Patch Set 1 #

Patch Set 2 : minor fixes #

Total comments: 26

Patch Set 3 : review-induced improvements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -449 lines) Patch
M Source/core/animation/CompositorAnimationsTest.cpp View 1 2 3 chunks +8 lines, -7 lines 0 comments Download
M Source/core/dom/FirstLetterPseudoElement.h View 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/dom/FirstLetterPseudoElement.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/dom/Fullscreen.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/Fullscreen.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/dom/Node.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/dom/NodeRareData.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/frame/FrameView.h View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 2 chunks +1 line, -4 lines 0 comments Download
M Source/core/layout/LayoutTableCellTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutTableCol.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/layout/LayoutTableCol.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/layout/LayoutTableRow.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/layout/LayoutTableRow.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/layout/LayoutTableRowTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutTableSection.h View 1 2 5 chunks +10 lines, -29 lines 0 comments Download
M Source/core/layout/LayoutTableSection.cpp View 4 chunks +2 lines, -26 lines 0 comments Download
M Source/core/paint/TableSectionPainter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBlock.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 2 chunks +0 lines, -17 lines 0 comments Download
M Source/core/rendering/RenderBlockFlow.h View 6 chunks +5 lines, -7 lines 0 comments Download
M Source/core/rendering/RenderBlockFlow.cpp View 8 chunks +6 lines, -17 lines 0 comments Download
M Source/core/rendering/RenderBoxModelObject.cpp View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderFrameSet.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/RenderFrameSet.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderFullScreen.h View 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/rendering/RenderFullScreen.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderGrid.cpp View 1 2 3 chunks +3 lines, -9 lines 0 comments Download
M Source/core/rendering/RenderInline.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/RenderInline.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderLayerReflectionInfo.h View 2 chunks +3 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderLayerReflectionInfo.cpp View 2 chunks +1 line, -7 lines 0 comments Download
M Source/core/rendering/RenderLayerScrollableArea.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderListItem.h View 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/rendering/RenderListItem.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderListMarker.h View 3 chunks +2 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderListMarker.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderMedia.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/RenderMedia.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderMenuList.h View 3 chunks +4 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderMenuList.cpp View 2 chunks +1 line, -9 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 6 chunks +7 lines, -16 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 7 chunks +0 lines, -25 lines 0 comments Download
M Source/core/rendering/RenderObjectChildList.h View 2 chunks +4 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderObjectChildList.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderPart.h View 2 chunks +0 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderPart.cpp View 2 chunks +0 lines, -16 lines 0 comments Download
M Source/core/rendering/RenderQuote.h View 2 chunks +2 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderQuote.cpp View 1 chunk +0 lines, -7 lines 0 comments Download
M Source/core/rendering/RenderScrollbar.h View 3 chunks +1 line, -4 lines 0 comments Download
M Source/core/rendering/RenderScrollbar.cpp View 2 chunks +0 lines, -13 lines 0 comments Download
M Source/core/rendering/RenderTextFragment.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderTextFragment.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderVTTCue.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/rendering/RenderVTTCue.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderView.h View 3 chunks +3 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderView.cpp View 4 chunks +3 lines, -12 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGContainer.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGContainer.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceFilter.h View 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceFilter.cpp View 1 chunk +0 lines, -8 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceLinearGradient.h View 1 chunk +16 lines, -4 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceLinearGradient.cpp View 1 3 chunks +12 lines, -10 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourcePattern.h View 1 chunk +11 lines, -3 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourcePattern.cpp View 1 6 chunks +23 lines, -21 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceRadialGradient.h View 2 chunks +12 lines, -4 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceRadialGradient.cpp View 1 3 chunks +15 lines, -13 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGRoot.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGRoot.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/svg/LinearGradientAttributes.h View 1 chunk +22 lines, -0 lines 0 comments Download
M Source/core/svg/PatternAttributes.h View 1 chunk +22 lines, -0 lines 0 comments Download
M Source/core/svg/RadialGradientAttributes.h View 1 chunk +22 lines, -0 lines 0 comments Download
M Source/platform/heap/ThreadState.h View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 22 (5 generated)
sof
Please take a look.
5 years, 10 months ago (2015-02-03 19:44:00 UTC) #2
haraken
Thanks!!! Let me take a detailed look.
5 years, 10 months ago (2015-02-03 23:28:37 UTC) #3
tkent
lgtm https://codereview.chromium.org/869323003/diff/20001/Source/core/animation/CompositorAnimationsTest.cpp File Source/core/animation/CompositorAnimationsTest.cpp (left): https://codereview.chromium.org/869323003/diff/20001/Source/core/animation/CompositorAnimationsTest.cpp#oldcode264 Source/core/animation/CompositorAnimationsTest.cpp:264: static void dispose(PassOwnPtrWillBeRawPtr<RenderObjectProxy> object) Don't remove this function. ...
5 years, 10 months ago (2015-02-04 00:50:44 UTC) #5
haraken
Mostly looks good. https://codereview.chromium.org/869323003/diff/20001/Source/core/layout/LayoutTableSection.h File Source/core/layout/LayoutTableSection.h (right): https://codereview.chromium.org/869323003/diff/20001/Source/core/layout/LayoutTableSection.h#newcode92 Source/core/layout/LayoutTableSection.h:92: ALLOW_ONLY_INLINE_ALLOCATION(); You can drop ALLOW_ONLY_INLINE_ALLOCATION(). https://codereview.chromium.org/869323003/diff/20001/Source/core/layout/LayoutTableSection.h#newcode118 ...
5 years, 10 months ago (2015-02-04 05:48:56 UTC) #7
tkent
https://codereview.chromium.org/869323003/diff/20001/Source/core/rendering/RenderObject.h File Source/core/rendering/RenderObject.h (right): https://codereview.chromium.org/869323003/diff/20001/Source/core/rendering/RenderObject.h#newcode129 Source/core/rendering/RenderObject.h:129: class RenderObject : public ImageResourceClient { On 2015/02/04 05:48:56, ...
5 years, 10 months ago (2015-02-04 06:07:47 UTC) #8
tkent
> BUG=340522 I have updated this to BUG=398342.
5 years, 10 months ago (2015-02-04 06:09:48 UTC) #9
sof
On 2015/02/04 06:09:48, tkent wrote: > > BUG=340522 > > I have updated this to ...
5 years, 10 months ago (2015-02-04 06:11:27 UTC) #10
sof
https://codereview.chromium.org/869323003/diff/20001/Source/core/animation/CompositorAnimationsTest.cpp File Source/core/animation/CompositorAnimationsTest.cpp (left): https://codereview.chromium.org/869323003/diff/20001/Source/core/animation/CompositorAnimationsTest.cpp#oldcode264 Source/core/animation/CompositorAnimationsTest.cpp:264: static void dispose(PassOwnPtrWillBeRawPtr<RenderObjectProxy> object) On 2015/02/04 00:50:44, tkent wrote: ...
5 years, 10 months ago (2015-02-04 08:44:32 UTC) #12
haraken
https://codereview.chromium.org/869323003/diff/20001/Source/core/rendering/svg/RenderSVGResourcePattern.h File Source/core/rendering/svg/RenderSVGResourcePattern.h (right): https://codereview.chromium.org/869323003/diff/20001/Source/core/rendering/svg/RenderSVGResourcePattern.h#newcode62 Source/core/rendering/svg/RenderSVGResourcePattern.h:62: Persistent<PatternAttributesWrapper> m_attributesWrapper; On 2015/02/04 08:44:32, sof wrote: > On ...
5 years, 10 months ago (2015-02-04 09:25:11 UTC) #13
sof
On 2015/02/04 09:25:11, haraken wrote: > https://codereview.chromium.org/869323003/diff/20001/Source/core/rendering/svg/RenderSVGResourcePattern.h > File Source/core/rendering/svg/RenderSVGResourcePattern.h (right): > > https://codereview.chromium.org/869323003/diff/20001/Source/core/rendering/svg/RenderSVGResourcePattern.h#newcode62 > ...
5 years, 10 months ago (2015-02-04 09:35:58 UTC) #14
haraken
On 2015/02/04 09:35:58, sof wrote: > On 2015/02/04 09:25:11, haraken wrote: > > > https://codereview.chromium.org/869323003/diff/20001/Source/core/rendering/svg/RenderSVGResourcePattern.h ...
5 years, 10 months ago (2015-02-04 09:38:41 UTC) #15
sof
On 2015/02/04 09:38:41, haraken wrote: > On 2015/02/04 09:35:58, sof wrote: > > On 2015/02/04 ...
5 years, 10 months ago (2015-02-04 09:44:40 UTC) #16
sof
Thanks for the quick reviewing. Last patchset has been given to the Oilpan bots. Should ...
5 years, 10 months ago (2015-02-04 09:49:50 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/869323003/40001
5 years, 10 months ago (2015-02-04 12:42:08 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=189496
5 years, 10 months ago (2015-02-04 13:05:04 UTC) #20
haraken
Thanks for landing this. I'll re-collect performance numbers with ToT.
5 years, 10 months ago (2015-02-04 14:03:28 UTC) #21
haraken
5 years, 10 months ago (2015-02-04 14:03:53 UTC) #22
Message was sent while issue was closed.
On 2015/02/04 14:03:28, haraken wrote:
> Thanks for landing this.
> 
> I'll re-collect performance numbers with ToT.

keishi-san@: Would you get the numbers on Mac? Sorry for asking a lot of
measurement :)

Powered by Google App Engine
This is Rietveld 408576698