<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>186712</bug_id>
          
          <creation_ts>2018-06-15 15:17:23 -0700</creation_ts>
          <short_desc>Various RenderTable classes waste Vector capacity</short_desc>
          <delta_ts>2018-06-15 15:18:04 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1433605</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2018-06-15 15:17:23 -0700</bug_when>
    <thetext>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&lt;WebCore::RenderTable::ColumnStruct, 0ul&gt;::VectorBuffer()
2   0x10889d285 WTF::Vector&lt;WebCore::RenderTable::ColumnStruct, 0ul, WTF::CrashOnOverflow, 16ul&gt;::Vector()
3   0x1088620f5 WTF::Vector&lt;WebCore::RenderTable::ColumnStruct, 0ul, WTF::CrashOnOverflow, 16ul&gt;::Vector()
4   0x108861e6e WebCore::RenderTable::RenderTable(WebCore::Element&amp;, WebCore::RenderStyle&amp;&amp;)
5   0x108862435 WebCore::RenderTable::RenderTable(WebCore::Element&amp;, WebCore::RenderStyle&amp;&amp;)
6   0x1086d405b std::__1::unique_ptr&lt;WebCore::RenderTable, WebCore::RenderObjectDeleter&gt; WebCore::createRenderer&lt;WebCore::RenderTable, WebCore::Element&amp;, WebCore::RenderStyle&gt;(WebCore::Element&amp;&amp;&amp;, WebCore::RenderStyle&amp;&amp;)
7   0x1086d28fd WebCore::RenderElement::createFor(WebCore::Element&amp;, WebCore::RenderStyle&amp;&amp;, WebCore::RenderElement::RendererCreationType)
8   0x10769ea05 WebCore::Element::createElementRenderer(WebCore::RenderStyle&amp;&amp;, WebCore::RenderTreePosition const&amp;)

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

Wasted capacity: 24192 bytes (used 3456 of 27648 bytes, utilization: 12.50%) - 432 allocations
1   0x105f1cbe5 WTF::VectorBuffer&lt;WebCore::LayoutUnit, 0ul&gt;::VectorBuffer()
2   0x105f1cbc5 WTF::Vector&lt;WebCore::LayoutUnit, 0ul, WTF::CrashOnOverflow, 16ul&gt;::Vector()
3   0x105f1c9b5 WTF::Vector&lt;WebCore::LayoutUnit, 0ul, WTF::CrashOnOverflow, 16ul&gt;::Vector()
4   0x108861e59 WebCore::RenderTable::RenderTable(WebCore::Element&amp;, WebCore::RenderStyle&amp;&amp;)
5   0x108862435 WebCore::RenderTable::RenderTable(WebCore::Element&amp;, WebCore::RenderStyle&amp;&amp;)
6   0x1086d405b std::__1::unique_ptr&lt;WebCore::RenderTable, WebCore::RenderObjectDeleter&gt; WebCore::createRenderer&lt;WebCore::RenderTable, WebCore::Element&amp;, WebCore::RenderStyle&gt;(WebCore::Element&amp;&amp;&amp;, WebCore::RenderStyle&amp;&amp;)
7   0x1086d28fd WebCore::RenderElement::createFor(WebCore::Element&amp;, WebCore::RenderStyle&amp;&amp;, WebCore::RenderElement::RendererCreationType)
8   0x10769ea05 WebCore::Element::createElementRenderer(WebCore::RenderStyle&amp;&amp;, WebCore::RenderTreePosition const&amp;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1433606</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2018-06-15 15:17:37 -0700</bug_when>
    <thetext>Wasted capacity: 13856 bytes (used 0 of 13856 bytes, utilization: 0.00%) - 433 allocations
1   0x1085673a1 WTF::VectorBuffer&lt;WebCore::RenderTableCell*, 4ul&gt;::VectorBuffer()
2   0x108567365 WTF::Vector&lt;WebCore::RenderTableCell*, 4ul, WTF::CrashOnOverflow, 16ul&gt;::Vector()
3   0x108557cb5 WTF::Vector&lt;WebCore::RenderTableCell*, 4ul, WTF::CrashOnOverflow, 16ul&gt;::Vector()
4   0x108557c17 WebCore::AutoTableLayout::AutoTableLayout(WebCore::RenderTable*)
5   0x108557cdd WebCore::AutoTableLayout::AutoTableLayout(WebCore::RenderTable*)
6   0x1088630af WebCore::RenderTable::styleDidChange(WebCore::StyleDifference, WebCore::RenderStyle const*)
7   0x1086d6d74 WebCore::RenderElement::initializeStyle()
8   0x108ab4954 WebCore::RenderTreeUpdater::createRenderer(WebCore::Element&amp;, WebCore::RenderStyle&amp;&amp;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1433607</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-06-15 15:18:04 -0700</bug_when>
    <thetext>&lt;rdar://problem/41174074&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>