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

Issue 225073004: Oilpan: Completely move core/animations/ to oilpan's heap (Closed)

Created:
6 years, 8 months ago by haraken
Modified:
6 years, 7 months ago
CC:
blink-reviews, adamk+blink_chromium.org, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), rwlbuis, sof, eae+blinkwatch, dglazkov+blink, Timothy Loh, Inactive, darktears, arv+blink, Steve Block, dino_apple.com, watchdog-blink-watchlist_google.com, Eric Willigers
Visibility:
Public.

Description

Oilpan: Completely move core/animations/ to oilpan's heap The lifetime relationship between Animation objects are really complicated. The relationship in this CL is illustrated here: https://docs.google.com/drawings/d/1jOs2hnSRDyVzH3CsEjdD8iq1hF9Kqt5KaZkMW_7Xv-U/edit?usp=sharing BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174194

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : ] #

Patch Set 8 : #

Total comments: 18

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 6

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+416 lines, -275 lines) Patch
M Source/core/animation/ActiveAnimations.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -12 lines 0 comments Download
M Source/core/animation/ActiveAnimations.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -3 lines 0 comments Download
M Source/core/animation/Animation.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +16 lines, -14 lines 0 comments Download
M Source/core/animation/Animation.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +33 lines, -17 lines 0 comments Download
M Source/core/animation/AnimationPlayer.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +14 lines, -9 lines 0 comments Download
M Source/core/animation/AnimationPlayer.cpp View 1 2 3 4 5 6 7 8 9 10 4 chunks +12 lines, -2 lines 0 comments Download
M Source/core/animation/AnimationPlayer.idl View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/animation/AnimationPlayerTest.cpp View 1 2 3 4 5 6 7 8 9 10 6 chunks +15 lines, -15 lines 0 comments Download
M Source/core/animation/AnimationStack.h View 1 2 3 4 5 6 1 chunk +6 lines, -3 lines 0 comments Download
M Source/core/animation/AnimationStack.cpp View 1 2 3 4 5 6 4 chunks +10 lines, -5 lines 0 comments Download
M Source/core/animation/AnimationStackTest.cpp View 1 2 3 4 5 6 7 8 9 10 5 chunks +9 lines, -9 lines 0 comments Download
M Source/core/animation/AnimationTest.cpp View 1 2 3 4 5 6 7 8 9 10 17 chunks +28 lines, -28 lines 0 comments Download
M Source/core/animation/CompositorPendingAnimations.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -2 lines 0 comments Download
M Source/core/animation/CompositorPendingAnimations.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/animation/DocumentTimeline.h View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +20 lines, -12 lines 0 comments Download
M Source/core/animation/DocumentTimeline.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +32 lines, -13 lines 0 comments Download
M Source/core/animation/DocumentTimelineTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +19 lines, -14 lines 0 comments Download
M Source/core/animation/ElementAnimation.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/InertAnimation.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/animation/InertAnimation.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -3 lines 0 comments Download
M Source/core/animation/SampledEffect.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +9 lines, -7 lines 0 comments Download
M Source/core/animation/SampledEffect.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +21 lines, -5 lines 0 comments Download
M Source/core/animation/TimedItem.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +19 lines, -22 lines 0 comments Download
M Source/core/animation/TimedItem.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +9 lines, -3 lines 0 comments Download
M Source/core/animation/TimedItem.idl View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/animation/TimedItemTest.cpp View 1 2 3 4 5 6 7 8 9 10 31 chunks +32 lines, -32 lines 0 comments Download
M Source/core/animation/TimedItemTiming.h View 2 chunks +7 lines, -4 lines 0 comments Download
M Source/core/animation/TimedItemTiming.cpp View 1 2 3 4 2 chunks +7 lines, -2 lines 0 comments Download
M Source/core/animation/Timeline.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/animation/Timing.idl View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/animation/css/CSSAnimations.h View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +25 lines, -10 lines 0 comments Download
M Source/core/animation/css/CSSAnimations.cpp View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +17 lines, -14 lines 0 comments Download
M Source/core/animation/css/TransitionTimeline.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/animation/css/TransitionTimeline.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/dom/Document.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +4 lines, -3 lines 0 comments Download
M Source/platform/heap/Handle.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
haraken
The lifetime relationship between Animation, AnimationPlayer, DocumentTimeline, TimedItem and SampledEffect are very complicated, and I ...
6 years, 8 months ago (2014-04-11 07:10:36 UTC) #1
dstockwell
https://codereview.chromium.org/225073004/diff/50001/Source/core/animation/ActiveAnimations.h File Source/core/animation/ActiveAnimations.h (right): https://codereview.chromium.org/225073004/diff/50001/Source/core/animation/ActiveAnimations.h#newcode64 Source/core/animation/ActiveAnimations.h:64: typedef WillBeHeapHashSet<RawPtrWillBeWeakMember<AnimationPlayer> > AnimationPlayerSet; Is there a HeapHashCountedSet? Although ...
6 years, 8 months ago (2014-04-15 05:02:42 UTC) #2
haraken
https://codereview.chromium.org/225073004/diff/50001/Source/core/animation/ActiveAnimations.h File Source/core/animation/ActiveAnimations.h (right): https://codereview.chromium.org/225073004/diff/50001/Source/core/animation/ActiveAnimations.h#newcode64 Source/core/animation/ActiveAnimations.h:64: typedef WillBeHeapHashSet<RawPtrWillBeWeakMember<AnimationPlayer> > AnimationPlayerSet; On 2014/04/15 05:02:43, dstockwell wrote: ...
6 years, 8 months ago (2014-04-15 05:03:55 UTC) #3
haraken
On 2014/04/15 05:03:55, haraken wrote: > https://codereview.chromium.org/225073004/diff/50001/Source/core/animation/ActiveAnimations.h > File Source/core/animation/ActiveAnimations.h (right): > > https://codereview.chromium.org/225073004/diff/50001/Source/core/animation/ActiveAnimations.h#newcode64 > ...
6 years, 8 months ago (2014-04-15 05:07:24 UTC) #4
haraken
PTAL. Now all animations/ tests pass, and it's ready for review. https://codereview.chromium.org/225073004/diff/130001/Source/core/animation/Animation.h File Source/core/animation/Animation.h (right): ...
6 years, 7 months ago (2014-04-29 04:47:34 UTC) #5
haraken
dstockwell or shanes or timothy: I'd be happy if you could take a quick look ...
6 years, 7 months ago (2014-04-29 09:33:20 UTC) #6
Mads Ager (chromium)
I'm finding myself having a hard time reasoning about this because I don't understand the ...
6 years, 7 months ago (2014-04-29 10:29:41 UTC) #7
dstockwell
On 2014/04/29 10:29:41, Mads Ager (chromium) wrote: > I'm finding myself having a hard time ...
6 years, 7 months ago (2014-04-29 22:29:57 UTC) #8
haraken
On 2014/04/29 22:29:57, dstockwell wrote: > On 2014/04/29 10:29:41, Mads Ager (chromium) wrote: > > ...
6 years, 7 months ago (2014-04-30 02:48:08 UTC) #9
dstockwell
Sorry for the delay, I left some comments with examples inline. Haven't had a chance ...
6 years, 7 months ago (2014-05-01 14:06:53 UTC) #10
Timothy Loh
As doug said, we won't really need any animations logic in any of the destructors ...
6 years, 7 months ago (2014-05-02 05:46:00 UTC) #11
haraken
Thanks Doug and Timothy! The diagram is really helpful to understand how the pointers should ...
6 years, 7 months ago (2014-05-02 14:11:48 UTC) #12
haraken
Thanks Doug and Timothy, your explanation really helped me understand the lifetime relationship. Now all ...
6 years, 7 months ago (2014-05-04 15:31:46 UTC) #13
Mads Ager (chromium)
With the Node hierarchy change ongoing this slipped. Haraken, I'll have a look at this ...
6 years, 7 months ago (2014-05-06 17:48:57 UTC) #14
haraken
On 2014/05/06 17:48:57, Mads Ager (chromium) wrote: > With the Node hierarchy change ongoing this ...
6 years, 7 months ago (2014-05-07 00:53:02 UTC) #15
haraken
OK, now that the ElementRareData is moved to the heap, I removed the complexity about ...
6 years, 7 months ago (2014-05-12 08:20:42 UTC) #16
Timothy Loh
lgtm Seems fine to me, but you'll probably want an oilpan reviewer to look over ...
6 years, 7 months ago (2014-05-12 09:47:56 UTC) #17
haraken
On 2014/05/12 09:47:56, Timothy Loh wrote: > lgtm > > Seems fine to me, but ...
6 years, 7 months ago (2014-05-12 09:48:57 UTC) #18
Mads Ager (chromium)
LGTM! https://codereview.chromium.org/225073004/diff/190001/Source/core/animation/DocumentTimeline.h File Source/core/animation/DocumentTimeline.h (right): https://codereview.chromium.org/225073004/diff/190001/Source/core/animation/DocumentTimeline.h#newcode60 Source/core/animation/DocumentTimeline.h:60: virtual void trace(Visitor*) = 0; Let's provide a ...
6 years, 7 months ago (2014-05-15 08:36:53 UTC) #19
haraken
https://codereview.chromium.org/225073004/diff/190001/Source/core/animation/DocumentTimeline.h File Source/core/animation/DocumentTimeline.h (right): https://codereview.chromium.org/225073004/diff/190001/Source/core/animation/DocumentTimeline.h#newcode60 Source/core/animation/DocumentTimeline.h:60: virtual void trace(Visitor*) = 0; On 2014/05/15 08:36:54, Mads ...
6 years, 7 months ago (2014-05-16 07:41:21 UTC) #20
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 7 months ago (2014-05-16 07:44:48 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/225073004/230001
6 years, 7 months ago (2014-05-16 07:45:11 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-16 08:56:57 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-16 09:23:17 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/16565)
6 years, 7 months ago (2014-05-16 09:23:18 UTC) #25
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 7 months ago (2014-05-16 15:16:00 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/225073004/240001
6 years, 7 months ago (2014-05-16 15:16:22 UTC) #27
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-16 16:42:40 UTC) #28
commit-bot: I haz the power
Change committed as 174194
6 years, 7 months ago (2014-05-16 17:47:09 UTC) #29
Dirk Pranke
This change appears to have caused an inspector layout test to fail. http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=inspector%2Ftracing-session-id.html I suppressed ...
6 years, 7 months ago (2014-05-16 22:05:58 UTC) #30
haraken
6 years, 7 months ago (2014-05-18 08:30:58 UTC) #31
Message was sent while issue was closed.
On 2014/05/16 22:05:58, Dirk Pranke wrote:
> This change appears to have caused an inspector layout test to fail.
> 
>
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=ins...
> 
> I suppressed the failure for now and filed a bug:
> 
> https://code.google.com/p/chromium/issues/detail?id=374411
> http://crrev.com/282423002

It turned out that the failure is not related to this CL. The culprit was this
one: http://src.chromium.org/viewvc/chrome?revision=271052&view=revision

Powered by Google App Engine
This is Rietveld 408576698