<?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>111522</bug_id>
          
          <creation_ts>2013-03-05 22:08:38 -0800</creation_ts>
          <short_desc>Autoreleased cached pages slow down the PLT by 2%</short_desc>
          <delta_ts>2013-03-15 21:30:44 -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>528+ (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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Geoffrey Garen">ggaren</reporter>
          <assigned_to name="Geoffrey Garen">ggaren</assigned_to>
          <cc>darin</cc>
    
    <cc>fpizlo</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>848459</commentid>
    <comment_count>0</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2013-03-05 22:08:38 -0800</bug_when>
    <thetext>Autoreleased cached pages slow down the PLT by 2%</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>848460</commentid>
    <comment_count>1</comment_count>
      <attachid>191652</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2013-03-05 22:10:28 -0800</bug_when>
    <thetext>Created attachment 191652
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>848490</commentid>
    <comment_count>2</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2013-03-05 22:55:54 -0800</bug_when>
    <thetext>Committed r144884: &lt;http://trac.webkit.org/changeset/144884&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>850159</commentid>
    <comment_count>3</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2013-03-07 09:23:30 -0800</bug_when>
    <thetext>What were we getting by autoreleasing? I would trust this patch more if the change log stated what changed between the time we added it and now when we are removing it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>850337</commentid>
    <comment_count>4</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2013-03-07 11:48:38 -0800</bug_when>
    <thetext>&gt; What were we getting by autoreleasing?

Originally, it was a hack to avoid doing any document tear-down while running PLT1.

&gt; I would trust this patch more if the change log stated what changed between the time we added it and now when we are removing it.

I can&apos;t say for sure what changed, but if I had to speculate, I&apos;d say this:

(1) Web pages are large enough these days that eagerly reclaiming memory can be a cache locality win.

(2) Garbage collection is a more robust way to gain whatever advantage is attributable to lazy tear-down, especially since most pages don&apos;t make it into the page cache.

(3) PLT3 is a more representative benchmark than PLT1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>856502</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-03-15 21:30:44 -0700</bug_when>
    <thetext>This caused bug 112205.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>191652</attachid>
            <date>2013-03-05 22:10:28 -0800</date>
            <delta_ts>2013-03-05 22:12:55 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-111522-20130305220634.patch</filename>
            <type>text/plain</type>
            <size>1139</size>
            <attacher name="Geoffrey Garen">ggaren</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT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h3b3JraW5nIGNvcHkpCkBAIC00ODUsNyArNDg1LDcgQEAg
dm9pZCBQYWdlQ2FjaGU6OnJlbW92ZShIaXN0b3J5SXRlbSogaXRlbQogICAgIGlmICghaXRlbSB8
fCAhaXRlbS0+bV9jYWNoZWRQYWdlKQogICAgICAgICByZXR1cm47CiAKLSAgICBhdXRvcmVsZWFz
ZShpdGVtLT5tX2NhY2hlZFBhZ2UucmVsZWFzZSgpKTsKKyAgICBpdGVtLT5tX2NhY2hlZFBhZ2Uu
Y2xlYXIoKTsKICAgICByZW1vdmVGcm9tTFJVTGlzdChpdGVtKTsKICAgICAtLW1fc2l6ZTsKIAo=
</data>
<flag name="review"
          id="212674"
          type_id="1"
          status="+"
          setter="fpizlo"
    />
          </attachment>
      

    </bug>

</bugzilla>