<?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>115519</bug_id>
          
          <creation_ts>2013-05-02 11:31:23 -0700</creation_ts>
          <short_desc>Make BloomFilter Fast-Allocated</short_desc>
          <delta_ts>2013-05-03 10:06:02 -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>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          <cc>benjamin</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>883851</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-05-02 11:31:23 -0700</bug_when>
    <thetext>While tracking down some memory allocation problems on Windows (see Bug 115130), I noticed that BloomFilter did not use the WTF_MAKE_FAST_ALLOCATED macro. Under Windows, the global replacement of operator new/delete should cause this to be fast allocated, but in practice results in a mismatch (allocating with system new, deallocating with fastFree).  Under Gtk/EFL/Qt and perhaps others, BloomFilter is not fast allocated at all.

This change simply instructs the system to build BloomFilter as a fast-allocated object, removing the error case under Windows and potentially speeding up memory allocation on other platforms.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>883856</commentid>
    <comment_count>1</comment_count>
      <attachid>200323</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-05-02 11:33:20 -0700</bug_when>
    <thetext>Created attachment 200323
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>883877</commentid>
    <comment_count>2</comment_count>
      <attachid>200323</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2013-05-02 12:05:45 -0700</bug_when>
    <thetext>Comment on attachment 200323
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>883904</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-05-02 13:47:56 -0700</bug_when>
    <thetext>Committed r149493: &lt;http://trac.webkit.org/changeset/149493&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>884183</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-05-03 09:49:17 -0700</bug_when>
    <thetext>Reopening to attach new patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>884184</commentid>
    <comment_count>5</comment_count>
      <attachid>200425</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-05-03 09:49:19 -0700</bug_when>
    <thetext>Created attachment 200425
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>884190</commentid>
    <comment_count>6</comment_count>
      <attachid>200425</attachid>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2013-05-03 09:57:34 -0700</bug_when>
    <thetext>Comment on attachment 200425
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=200425&amp;action=review

&gt; Source/WTF/ChangeLog:4
&gt; +        https://bugs.webkit.org/show_bug.cgi?id=115519

Wrong bug URL.
That bug was about BloomFilter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>884196</commentid>
    <comment_count>7</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-05-03 10:06:02 -0700</bug_when>
    <thetext>Whoops.  Attached to wrong bug. Nothing to see here...</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>200323</attachid>
            <date>2013-05-02 11:33:20 -0700</date>
            <delta_ts>2013-05-03 09:49:15 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-115519-20130502113233.patch</filename>
            <type>text/plain</type>
            <size>1050</size>
            <attacher name="Brent Fulgham">bfulgham</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XVEYvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFNvdXJjZS9XVEYvQ2hh
bmdlTG9nCShyZXZpc2lvbiAxNDk0ODkpCisrKyBTb3VyY2UvV1RGL0NoYW5nZUxvZwkod29ya2lu
ZyBjb3B5KQpAQCAtMSwzICsxLDEzIEBACisyMDEzLTA1LTAyICBCcmVudCBGdWxnaGFtICA8YmZ1
bGdoYW1Ad2Via2l0Lm9yZz4KKworICAgICAgICBNYWtlIEJsb29tRmlsdGVyIGZhc3QgYWxsb2Nh
dGVkLgorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTE1
NTE5CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgKiB3
dGYvQmxvb21GaWx0ZXIuaDoKKyAgICAgICAgKEJsb29tRmlsdGVyKTogTWFrZSBCbG9vbUZpbHRl
ciBGYXN0LWFsbG9jYXRlZC4KKwogMjAxMy0wNS0wMSAgTWljaGFlbCBTYWJvZmYgIDxtc2Fib2Zm
QGFwcGxlLmNvbT4KIAogICAgICAgICBGYXN0TWFsbG9jLmNwcCBzaG91bGQgdXNlIHN5c3RlbSBk
ZWZpbmVkIHBhZ2Ugc2l6ZSBpbnN0ZWFkIG9mIGxpdGVyYWwgY29uc3RhbnQKSW5kZXg6IFNvdXJj
ZS9XVEYvd3RmL0Jsb29tRmlsdGVyLmgKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291cmNlL1dURi93dGYvQmxv
b21GaWx0ZXIuaAkocmV2aXNpb24gMTQ5NDg5KQorKysgU291cmNlL1dURi93dGYvQmxvb21GaWx0
ZXIuaAkod29ya2luZyBjb3B5KQpAQCAtMzYsNiArMzYsNyBAQCBuYW1lc3BhY2UgV1RGIHsKIC8v
IGtleXMgYW5kIG0gaXMgdGhlIHRhYmxlIHNpemUgKD09Ml5rZXlCaXRzKS4KIHRlbXBsYXRlIDx1
bnNpZ25lZCBrZXlCaXRzPgogY2xhc3MgQmxvb21GaWx0ZXIgeworICAgIFdURl9NQUtFX0ZBU1Rf
QUxMT0NBVEVEOwogcHVibGljOgogICAgIENPTVBJTEVfQVNTRVJUKGtleUJpdHMgPD0gMTYsIGJs
b29tX2ZpbHRlcl9rZXlfc2l6ZSk7CiAK
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>200425</attachid>
            <date>2013-05-03 09:49:19 -0700</date>
            <delta_ts>2013-05-03 10:05:39 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-115519-20130503094830.patch</filename>
            <type>text/plain</type>
            <size>1117</size>
            <attacher name="Brent Fulgham">bfulgham</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XVEYvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFNvdXJjZS9XVEYvQ2hh
bmdlTG9nCShyZXZpc2lvbiAxNDk1MjEpCisrKyBTb3VyY2UvV1RGL0NoYW5nZUxv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fQUxMT0NBVEVEOworcHVibGljOgogICAgIFRocmVhZEZ1bmN0aW9uSW52b2NhdGlv
bihUaHJlYWRGdW5jdGlvbiBmdW5jdGlvbiwgdm9pZCogZGF0YSkKICAgICAgICAgOiBmdW5jdGlv
bihmdW5jdGlvbikKICAgICAgICAgLCBkYXRhKGRhdGEpCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>