[Webkit-unassigned] [Bug 186712] New: Various RenderTable classes waste Vector capacity

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 15 15:17:23 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=186712

            Bug ID: 186712
           Summary: Various RenderTable classes waste Vector capacity
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

See on nytimes.com. Tooling in bug 186698.

Wasted capacity: 25920 bytes (used 1728 of 27648 bytes, utilization: 6.25%) - 432 allocations
1   0x10889d2a5 WTF::VectorBuffer<WebCore::RenderTable::ColumnStruct, 0ul>::VectorBuffer()
2   0x10889d285 WTF::Vector<WebCore::RenderTable::ColumnStruct, 0ul, WTF::CrashOnOverflow, 16ul>::Vector()
3   0x1088620f5 WTF::Vector<WebCore::RenderTable::ColumnStruct, 0ul, WTF::CrashOnOverflow, 16ul>::Vector()
4   0x108861e6e WebCore::RenderTable::RenderTable(WebCore::Element&, WebCore::RenderStyle&&)
5   0x108862435 WebCore::RenderTable::RenderTable(WebCore::Element&, WebCore::RenderStyle&&)
6   0x1086d405b std::__1::unique_ptr<WebCore::RenderTable, WebCore::RenderObjectDeleter> WebCore::createRenderer<WebCore::RenderTable, WebCore::Element&, WebCore::RenderStyle>(WebCore::Element&&&, WebCore::RenderStyle&&)
7   0x1086d28fd WebCore::RenderElement::createFor(WebCore::Element&, WebCore::RenderStyle&&, WebCore::RenderElement::RendererCreationType)
8   0x10769ea05 WebCore::Element::createElementRenderer(WebCore::RenderStyle&&, WebCore::RenderTreePosition const&)

Wasted capacity: 24752 bytes (used 3536 of 28288 bytes, utilization: 12.50%) - 442 allocations
1   0x105f1cbe5 WTF::VectorBuffer<WebCore::LayoutUnit, 0ul>::VectorBuffer()
2   0x105f1cbc5 WTF::Vector<WebCore::LayoutUnit, 0ul, WTF::CrashOnOverflow, 16ul>::Vector()
3   0x105f1c9b5 WTF::Vector<WebCore::LayoutUnit, 0ul, WTF::CrashOnOverflow, 16ul>::Vector()
4   0x10887ddac WebCore::RenderTableSection::RenderTableSection(WebCore::Document&, WebCore::RenderStyle&&)
5   0x10887de85 WebCore::RenderTableSection::RenderTableSection(WebCore::Document&, WebCore::RenderStyle&&)
6   0x10888607b std::__1::unique_ptr<WebCore::RenderTableSection, WebCore::RenderObjectDeleter> WebCore::createRenderer<WebCore::RenderTableSection, WebCore::Document&, WebCore::RenderStyle>(WebCore::Document&&&, WebCore::RenderStyle&&)
7   0x108885f2f WebCore::RenderTableSection::createTableSectionWithStyle(WebCore::Document&, WebCore::RenderStyle const&)
8   0x108886143 WebCore::RenderTableSection::createAnonymousWithParentRenderer(WebCore::RenderTable const&)

Wasted capacity: 24192 bytes (used 3456 of 27648 bytes, utilization: 12.50%) - 432 allocations
1   0x105f1cbe5 WTF::VectorBuffer<WebCore::LayoutUnit, 0ul>::VectorBuffer()
2   0x105f1cbc5 WTF::Vector<WebCore::LayoutUnit, 0ul, WTF::CrashOnOverflow, 16ul>::Vector()
3   0x105f1c9b5 WTF::Vector<WebCore::LayoutUnit, 0ul, WTF::CrashOnOverflow, 16ul>::Vector()
4   0x108861e59 WebCore::RenderTable::RenderTable(WebCore::Element&, WebCore::RenderStyle&&)
5   0x108862435 WebCore::RenderTable::RenderTable(WebCore::Element&, WebCore::RenderStyle&&)
6   0x1086d405b std::__1::unique_ptr<WebCore::RenderTable, WebCore::RenderObjectDeleter> WebCore::createRenderer<WebCore::RenderTable, WebCore::Element&, WebCore::RenderStyle>(WebCore::Element&&&, WebCore::RenderStyle&&)
7   0x1086d28fd WebCore::RenderElement::createFor(WebCore::Element&, WebCore::RenderStyle&&, WebCore::RenderElement::RendererCreationType)
8   0x10769ea05 WebCore::Element::createElementRenderer(WebCore::RenderStyle&&, WebCore::RenderTreePosition const&)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180615/09d0547f/attachment-0001.html>


More information about the webkit-unassigned mailing list