WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 186696
186713
MediaQuery wastes 335K of vector capacity on theverge.com
https://bugs.webkit.org/show_bug.cgi?id=186713
Summary
MediaQuery wastes 335K of vector capacity on theverge.com
Simon Fraser (smfr)
Reported
2018-06-15 16:43:07 PDT
Wasted capacity: 335584 bytes (used 22816 of 358400 bytes, utilization: 6.37%) - 702 allocations 1 0x107440ce5 WTF::VectorBuffer<WebCore::MediaQueryExpression, 0ul>::VectorBuffer() 2 0x107440cb0 WTF::Vector<WebCore::MediaQueryExpression, 0ul, WTF::CrashOnOverflow, 16ul>::Vector(WTF::Vector<WebCore::MediaQueryExpression, 0ul, WTF::CrashOnOverflow, 16ul>&&) 3 0x107440c7d WTF::Vector<WebCore::MediaQueryExpression, 0ul, WTF::CrashOnOverflow, 16ul>::Vector(WTF::Vector<WebCore::MediaQueryExpression, 0ul, WTF::CrashOnOverflow, 16ul>&&) 4 0x107440c2f WebCore::MediaQuery::MediaQuery(WebCore::MediaQuery&&) 5 0x107440bcd WebCore::MediaQuery::MediaQuery(WebCore::MediaQuery&&) 6 0x107441355 void WTF::Vector<WebCore::MediaQuery, 0ul, WTF::CrashOnOverflow, 16ul>::appendSlowCase<WebCore::MediaQuery>(WebCore::MediaQuery&&) 7 0x1074411f0 void WTF::Vector<WebCore::MediaQuery, 0ul, WTF::CrashOnOverflow, 16ul>::append<WebCore::MediaQuery>(WebCore::MediaQuery&&) 8 0x107428ed5 WTF::Vector<WebCore::MediaQuery, 0ul, WTF::CrashOnOverflow, 16ul>::append(WebCore::MediaQuery&&) via m_expressions. Could also re-order members for better packing.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-06-15 16:43:36 PDT
<
rdar://problem/41176917
>
Chris Dumez
Comment 2
2018-06-16 13:34:52 PDT
Fixed by
bug 186696
?
Simon Fraser (smfr)
Comment 3
2018-06-16 16:47:45 PDT
Yes, I think so. *** This bug has been marked as a duplicate of
bug 186696
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug