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

Issue 423093002: Oilpan: Prepare to move RenderObject and RenderObjectChildList to Oilpan heap. (Closed)

Created:
6 years, 4 months ago by tkent
Modified:
6 years, 4 months ago
CC:
blink-reviews, ed+blinkwatch_opera.com, feature-media-reviews_chromium.org, blink-reviews-rendering, kouhei+svg_chromium.org, zoltan1, sof, eae+blinkwatch, leviw+renderwatch, eric.carlson_apple.com, fs, blink-reviews-dom_chromium.org, dglazkov+blink, krit, f(malita), gyuyoung.kim_webkit.org, jchaffraix+rendering, pdr., rune+blink, Stephen Chennney, philipj_slow, rwlbuis
Project:
blink
Visibility:
Public.

Description

Oilpan: Prepare to move RenderObject and RenderObjectChildList to Oilpan heap. We have a lot of remaining raw pointer members to RenderObject. Follow-up patches will resolve them. BUG=398342 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179196 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179933

Patch Set 1 #

Total comments: 10

Patch Set 2 : add comments #

Patch Set 3 : add more trace #

Total comments: 18

Patch Set 4 : Move RenderLayerReflectionInfo on-heap, more trace in RenderTableSection #

Total comments: 27

Patch Set 5 : dispose -> destroy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -141 lines) Patch
M Source/core/dom/FullscreenElementStack.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/FullscreenElementStack.cpp View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/dom/Node.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M Source/core/dom/Node.cpp View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/dom/NodeRareData.cpp View 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/editing/TextIterator.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/TextIterator.cpp View 1 2 3 8 chunks +8 lines, -8 lines 0 comments Download
M Source/core/frame/FrameView.h View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 3 4 4 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderBlock.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M Source/core/rendering/RenderBlockFlow.h View 1 2 3 4 5 chunks +10 lines, -7 lines 0 comments Download
M Source/core/rendering/RenderBlockFlow.cpp View 1 2 3 4 8 chunks +17 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderBoxModelObject.cpp View 1 2 3 4 4 chunks +15 lines, -13 lines 0 comments Download
M Source/core/rendering/RenderFrameSet.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderFrameSet.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderFullScreen.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderFullScreen.cpp View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M Source/core/rendering/RenderInline.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderInline.cpp View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M Source/core/rendering/RenderLayerReflectionInfo.h View 1 2 3 4 2 chunks +8 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderLayerReflectionInfo.cpp View 1 2 3 4 5 chunks +19 lines, -14 lines 0 comments Download
M Source/core/rendering/RenderLayerScrollableArea.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderLayerScrollableArea.cpp View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderListItem.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderListItem.cpp View 1 2 3 4 chunks +9 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderListMarker.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderListMarker.cpp View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderMedia.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderMedia.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderMenuList.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderMenuList.cpp View 1 2 3 4 4 chunks +11 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 2 3 4 6 chunks +15 lines, -7 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 3 4 7 chunks +29 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderObjectChildList.h View 3 chunks +9 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderObjectChildList.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderQuote.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderQuote.cpp View 1 2 3 chunks +11 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderScrollbar.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTableCellTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTableCol.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderTableCol.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderTableRow.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderTableRow.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderTableRowTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTableSection.h View 1 2 3 4 chunks +30 lines, -10 lines 0 comments Download
M Source/core/rendering/RenderTableSection.cpp View 1 2 3 4 chunks +25 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderTextFragment.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderTextFragment.cpp View 1 2 4 chunks +9 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderView.h View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderView.cpp View 1 2 3 4 3 chunks +12 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderWidget.h View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderWidget.cpp View 1 2 3 4 4 chunks +17 lines, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGContainer.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGContainer.cpp View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceContainer.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGRoot.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGRoot.cpp View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M Source/platform/heap/Handle.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
tkent
Please review this. https://codereview.chromium.org/423093002/diff/1/Source/core/dom/Node.cpp File Source/core/dom/Node.cpp (right): https://codereview.chromium.org/423093002/diff/1/Source/core/dom/Node.cpp#newcode2502 Source/core/dom/Node.cpp:2502: visitor->trace(m_data.m_renderer); m_data is a union of ...
6 years, 4 months ago (2014-07-29 08:25:34 UTC) #1
zerny-chromium
mostly lgtm https://codereview.chromium.org/423093002/diff/1/Source/core/dom/Node.h File Source/core/dom/Node.h (right): https://codereview.chromium.org/423093002/diff/1/Source/core/dom/Node.h#newcode110 Source/core/dom/Node.h:110: RenderObject* m_renderer; Could we alternatively make NodeRareDataBase ...
6 years, 4 months ago (2014-07-29 08:46:37 UTC) #2
haraken
LGTM https://codereview.chromium.org/423093002/diff/1/Source/core/dom/Node.cpp File Source/core/dom/Node.cpp (right): https://codereview.chromium.org/423093002/diff/1/Source/core/dom/Node.cpp#newcode2502 Source/core/dom/Node.cpp:2502: visitor->trace(m_data.m_renderer); On 2014/07/29 08:25:33, tkent wrote: > m_data ...
6 years, 4 months ago (2014-07-29 11:28:06 UTC) #3
tkent
https://codereview.chromium.org/423093002/diff/1/Source/core/dom/Node.h File Source/core/dom/Node.h (right): https://codereview.chromium.org/423093002/diff/1/Source/core/dom/Node.h#newcode110 Source/core/dom/Node.h:110: RenderObject* m_renderer; On 2014/07/29 08:46:37, zerny-chromium wrote: > Could ...
6 years, 4 months ago (2014-07-29 14:01:44 UTC) #4
tkent
https://codereview.chromium.org/423093002/diff/1/Source/core/dom/Node.cpp File Source/core/dom/Node.cpp (right): https://codereview.chromium.org/423093002/diff/1/Source/core/dom/Node.cpp#newcode2502 Source/core/dom/Node.cpp:2502: visitor->trace(m_data.m_renderer); On 2014/07/29 11:28:06, haraken wrote: > On 2014/07/29 ...
6 years, 4 months ago (2014-07-30 02:35:14 UTC) #5
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 4 months ago (2014-07-30 03:58:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/423093002/20001
6 years, 4 months ago (2014-07-30 03:59:24 UTC) #7
commit-bot: I haz the power
Change committed as 179196
6 years, 4 months ago (2014-07-30 04:03:22 UTC) #8
zerny-chromium
> https://codereview.chromium.org/423093002/diff/1/Source/core/dom/Node.h#newcode110 > Source/core/dom/Node.h:110: RenderObject* m_renderer; > On 2014/07/29 14:01:43, tkent wrote: > > On ...
6 years, 4 months ago (2014-07-30 04:36:45 UTC) #9
tkent
A revert of this CL has been created in https://codereview.chromium.org/425203002/ by tkent@chromium.org. The reason for ...
6 years, 4 months ago (2014-07-30 05:36:08 UTC) #10
tkent
On 2014/07/30 05:36:08, tkent wrote: > A revert of this CL has been created in ...
6 years, 4 months ago (2014-07-30 07:39:21 UTC) #11
tkent
I updated patch. I needed to add a lot of RawPtrWillBeMember and trace to avoid ...
6 years, 4 months ago (2014-08-01 08:15:10 UTC) #12
haraken
I have a concern about introducing RawPtrWillBePersistent, since it's very likely to cause leaks. I ...
6 years, 4 months ago (2014-08-01 17:48:22 UTC) #13
tkent
On 2014/08/01 17:48:22, haraken wrote: > I have a concern about introducing RawPtrWillBePersistent, since it's ...
6 years, 4 months ago (2014-08-05 06:15:32 UTC) #14
haraken
On 2014/08/05 06:15:32, tkent wrote: > On 2014/08/01 17:48:22, haraken wrote: > > I have ...
6 years, 4 months ago (2014-08-05 09:00:18 UTC) #15
tkent
https://codereview.chromium.org/423093002/diff/60001/Source/core/frame/FrameView.h File Source/core/frame/FrameView.h (right): https://codereview.chromium.org/423093002/diff/60001/Source/core/frame/FrameView.h#newcode486 Source/core/frame/FrameView.h:486: RawPtrWillBePersistent<RenderScrollbarPart> m_scrollCorner; On 2014/08/01 17:48:21, haraken wrote: > > ...
6 years, 4 months ago (2014-08-07 04:43:03 UTC) #16
haraken
(I'll take another look later today.) https://codereview.chromium.org/423093002/diff/60001/Source/core/rendering/RenderBlock.h File Source/core/rendering/RenderBlock.h (right): https://codereview.chromium.org/423093002/diff/60001/Source/core/rendering/RenderBlock.h#newcode488 Source/core/rendering/RenderBlock.h:488: RenderLineBoxList m_lineBoxes; // ...
6 years, 4 months ago (2014-08-07 07:45:05 UTC) #17
haraken
Sorry about the review delay. LGTM. As commented below, I think it's easy to replace ...
6 years, 4 months ago (2014-08-07 15:18:42 UTC) #18
tkent
https://codereview.chromium.org/423093002/diff/100001/Source/core/rendering/RenderBoxModelObject.cpp File Source/core/rendering/RenderBoxModelObject.cpp (right): https://codereview.chromium.org/423093002/diff/100001/Source/core/rendering/RenderBoxModelObject.cpp#newcode2520 Source/core/rendering/RenderBoxModelObject.cpp:2520: continuationMap = new OwnPtrWillBePersistent<ContinuationMap>(adoptPtrWillBeNoop(new ContinuationMap)); On 2014/08/07 15:18:41, haraken ...
6 years, 4 months ago (2014-08-08 02:11:07 UTC) #19
haraken
Now I understand that we cannot change the RawPtrWillBePersistent to OwnPtrWillBePersistent. https://codereview.chromium.org/423093002/diff/100001/Source/core/rendering/RenderWidget.cpp File Source/core/rendering/RenderWidget.cpp (right): ...
6 years, 4 months ago (2014-08-08 02:15:36 UTC) #20
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 4 months ago (2014-08-11 10:26:08 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/423093002/140001
6 years, 4 months ago (2014-08-11 10:27:10 UTC) #22
commit-bot: I haz the power
6 years, 4 months ago (2014-08-11 10:48:20 UTC) #23
Message was sent while issue was closed.
Change committed as 179933

Powered by Google App Engine
This is Rietveld 408576698