Bug 186701 - AnimationList wastes 60KB of vector capacity
Summary: AnimationList wastes 60KB of vector capacity
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Animations (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-06-15 15:01 PDT by Simon Fraser (smfr)
Modified: 2018-06-20 13:23 PDT (History)
9 users (show)

See Also:


Attachments
Patch (7.36 KB, patch)
2018-06-20 11:14 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews106 for mac-sierra-wk2 (2.97 MB, application/zip)
2018-06-20 12:54 PDT, EWS Watchlist
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2018-06-15 15:01:24 PDT
On theverge.com, tooling from bug 186698:

Wasted capacity: 59032 bytes (used 7872 of 66904 bytes, utilization: 11.77%) - 335 allocations
1   0x1081bacb5 WTF::VectorBuffer<WTF::Ref<WebCore::Animation, WTF::DumbPtrTraits<WebCore::Animation> >, 0ul>::VectorBuffer()
2   0x1081bac95 WTF::Vector<WTF::Ref<WebCore::Animation, WTF::DumbPtrTraits<WebCore::Animation> >, 0ul, WTF::CrashOnOverflow, 16ul>::Vector()
3   0x1081b84b5 WTF::Vector<WTF::Ref<WebCore::Animation, WTF::DumbPtrTraits<WebCore::Animation> >, 0ul, WTF::CrashOnOverflow, 16ul>::Vector()
4   0x1089d5615 WebCore::AnimationList::AnimationList()
5   0x1089d55f5 WebCore::AnimationList::AnimationList()
6   0x1089c30e4 WebCore::RenderStyle::ensureTransitions()
7   0x106aaae64 WebCore::StyleBuilderFunctions::applyValueTransitionDelay(WebCore::StyleResolver&, WebCore::CSSValue&)
8   0x106a8f4cf WebCore::StyleBuilder::applyProperty(WebCore::CSSPropertyID, WebCore::StyleResolver&, WebCore::CSSValue&, bool, bool)
Comment 1 Radar WebKit Bug Importer 2018-06-15 15:01:56 PDT
<rdar://problem/41173415>
Comment 2 Simon Fraser (smfr) 2018-06-20 11:14:50 PDT
Created attachment 343166 [details]
Patch
Comment 3 EWS Watchlist 2018-06-20 12:54:38 PDT
Comment on attachment 343166 [details]
Patch

Attachment 343166 [details] did not pass mac-wk2-ews (mac-wk2):
Output: https://webkit-queues.webkit.org/results/8268115

New failing tests:
accessibility/mac/selection-notification-focus-change.html
Comment 4 EWS Watchlist 2018-06-20 12:54:39 PDT
Created attachment 343176 [details]
Archive of layout-test-results from ews106 for mac-sierra-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews106  Port: mac-sierra-wk2  Platform: Mac OS X 10.12.6
Comment 5 WebKit Commit Bot 2018-06-20 13:23:23 PDT
Comment on attachment 343166 [details]
Patch

Clearing flags on attachment: 343166

Committed r233020: <https://trac.webkit.org/changeset/233020>
Comment 6 WebKit Commit Bot 2018-06-20 13:23:24 PDT
All reviewed patches have been landed.  Closing bug.