<?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>173481</bug_id>
          
          <creation_ts>2017-06-16 11:14:11 -0700</creation_ts>
          <short_desc>Include a few widespread WTF headers in WebCorePrefix.h</short_desc>
          <delta_ts>2017-10-03 20:17:00 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          <dependson>173494</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Horton">thorton</reporter>
          <assigned_to name="Tim Horton">thorton</assigned_to>
          <cc>achristensen</cc>
    
    <cc>ap</cc>
    
    <cc>buildbot</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ggaren</cc>
    
    <cc>jlewis3</cc>
    
    <cc>mitz</cc>
    
    <cc>sam</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1320030</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2017-06-16 11:14:11 -0700</bug_when>
    <thetext>Include a few widespread WTF headers in WebCorePrefix.h</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1320031</commentid>
    <comment_count>1</comment_count>
      <attachid>313094</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2017-06-16 11:14:19 -0700</bug_when>
    <thetext>Created attachment 313094
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1320034</commentid>
    <comment_count>2</comment_count>
    <who name="Build Bot">buildbot</who>
    <bug_when>2017-06-16 11:16:26 -0700</bug_when>
    <thetext>Attachment 313094 did not pass style-queue:


ERROR: Source/WebCore/WebCorePrefix.h:167:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1320090</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2017-06-16 12:45:01 -0700</bug_when>
    <thetext>https://trac.webkit.org/changeset/218402/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1320097</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2017-06-16 12:52:23 -0700</bug_when>
    <thetext>Build fix in https://trac.webkit.org/changeset/218404/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1320134</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-06-16 13:44:49 -0700</bug_when>
    <thetext>Re-opened since this is blocked by bug 173494</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1320362</commentid>
    <comment_count>6</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2017-06-17 01:22:14 -0700</bug_when>
    <thetext>Ooh! I can reproduce the build failure by building with dSYMs enabled:

./Tools/Scripts/build-webkit --release ARCHS=x86_64 DEBUG_INFORMATION_FORMAT=dwarf-with-dsym

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Build/Release/WebCore.framework/Versions/A/WebCore -o /Build/Release/WebCore.framework.dSYM
LLVM ERROR: IO failure on output stream.
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil failed with exit code 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1320371</commentid>
    <comment_count>7</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2017-06-17 03:03:03 -0700</bug_when>
    <thetext>Adding WTFString or Optional by themselves seems to have the same effect</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1320372</commentid>
    <comment_count>8</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2017-06-17 03:20:28 -0700</bug_when>
    <thetext>Ditto for StdLibExtras...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1320394</commentid>
    <comment_count>9</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2017-06-17 10:13:26 -0700</bug_when>
    <thetext>How big is the dSYM file before your changes?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1320404</commentid>
    <comment_count>10</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2017-06-17 11:06:52 -0700</bug_when>
    <thetext>1.4GB</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1320447</commentid>
    <comment_count>11</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2017-06-17 17:12:38 -0700</bug_when>
    <thetext>It&apos;s not about size. I&apos;ve reduced it down and can reproduce even by just adding:

namespace WTF {

}

to the same spot</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1321029</commentid>
    <comment_count>12</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2017-06-20 00:14:32 -0700</bug_when>
    <thetext>I filed https://bugs.llvm.org/show_bug.cgi?id=33520</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1355703</commentid>
    <comment_count>13</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2017-10-02 22:03:47 -0700</bug_when>
    <thetext>&lt;rdar://problem/34784096&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1355991</commentid>
    <comment_count>14</comment_count>
      <attachid>322568</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2017-10-03 12:56:44 -0700</bug_when>
    <thetext>Created attachment 322568
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1356038</commentid>
    <comment_count>15</comment_count>
      <attachid>322568</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-10-03 14:12:42 -0700</bug_when>
    <thetext>Comment on attachment 322568
Patch

Clearing flags on attachment: 322568

Committed r222810: &lt;http://trac.webkit.org/changeset/222810&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1356040</commentid>
    <comment_count>16</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-10-03 14:12:43 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1356058</commentid>
    <comment_count>17</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-10-03 14:46:53 -0700</bug_when>
    <thetext>This broke the windows build:

https://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29/builds/4908

error:

c:\cygwin\home\buildbot\slave\win-release\build\source\webcore\WebCorePrefix.h(171): fatal error C1083: Cannot open type library file: &apos;c:\cygwin\home\buildbot\slave\win-release\build\webkitbuild\release\derivedsources\forwardingheaders\wtf\fastmalloc.h&apos;: Error loading type library/DLL. [C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\Release\Source\WebCore\WebCore.vcxproj]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1356231</commentid>
    <comment_count>18</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2017-10-03 20:16:21 -0700</bug_when>
    <thetext>On our build bots, this looks like a ~6-7% win, not 9%, but still a decent win. We should do something similar in WebKit and JSC, probably.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1356232</commentid>
    <comment_count>19</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2017-10-03 20:17:00 -0700</bug_when>
    <thetext>(In reply to Tim Horton from comment #18)
&gt; On our build bots, this looks like a ~6-7% win, not 9%, but still a decent
&gt; win. We should do something similar in WebKit and JSC, probably.

6-7% on WebCore alone, less if you measure the whole project :(</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>313094</attachid>
            <date>2017-06-16 11:14:19 -0700</date>
            <delta_ts>2017-10-03 12:56:42 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-173481-20170616111419.patch</filename>
            <type>text/plain</type>
            <size>1630</size>
            <attacher name="Tim Horton">thorton</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjE4MzM5CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggN2M1NTViYzI1ZDkzYWMw
NGQ4NDQ5NGRhNTcyN2FhNWQ0OTFlOGFjMC4uZmZjZGQxODNiNWE2M2ZhYjUxZWExNjY1NjI5NThi
ZWRlNGRmOWNjNyAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE3IEBACisyMDE3LTA2LTE2ICBUaW0g
SG9ydG9uICA8dGltb3RoeV9ob3J0b25AYXBwbGUuY29tPgorCisgICAgICAgIEluY2x1ZGUgYSBm
ZXcgd2lkZXNwcmVhZCBXVEYgaGVhZGVycyBpbiBXZWJDb3JlUHJlZml4LmgKKyAgICAgICAgaHR0
cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE3MzQ4MQorCisgICAgICAgIFJl
dmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICogV2ViQ29yZVByZWZpeC5oOgor
ICAgICAgICBUaGVzZSB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d3RmL3RleHQvQXRvbWljU3RyaW5nLmg+CisjaW1wb3J0IDx3dGYvdGV4dC9XVEZTdHJpbmcu
aD4KKyNpbXBvcnQgPHd0Zi9PcHRpb25hbC5oPgorI2ltcG9ydCA8d3RmL1N0ZExpYkV4dHJhcy5o
PgorCiAjZGVmaW5lIG5ldyAoImlmIHlvdSB1c2UgbmV3L2RlbGV0ZSBtYWtlIHN1cmUgdG8gaW5j
bHVkZSBjb25maWcuaCBhdCB0aGUgdG9wIG9mIHRoZSBmaWxlIigpKSAKICNkZWZpbmUgZGVsZXRl
ICgiaWYgeW91IHVzZSBuZXcvZGVsZXRlIG1ha2Ugc3VyZSB0byBpbmNsdWRlIGNvbmZpZy5oIGF0
IHRoZSB0b3Agb2YgdGhlIGZpbGUiKCkpIAogI2VuZGlmCg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>322568</attachid>
            <date>2017-10-03 12:56:44 -0700</date>
            <delta_ts>2017-10-03 14:12:42 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-173481-20171003125643.patch</filename>
            <type>text/plain</type>
            <size>1810</size>
            <attacher name="Tim Horton">thorton</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjIyODAyCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggMWQ0ZDFhNDg3ZmYwYTQx
OWVhZTAxMDQwYjgzYTRkNGUwNDljM2MzZC4uODg1ZGFkZTU1OTBjM2EyYjEyZDMzZDEzZGIxM2I5
ZDVlNmU5ZjIzMCAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE5IEBACisyMDE3LTEwLTAzICBUaW0g
SG9ydG9uICA8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