<?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>65954</bug_id>
          
          <creation_ts>2011-08-09 19:05:50 -0700</creation_ts>
          <short_desc>DFG JIT heap prediction causes regressions when combined with aggressive integer prediction</short_desc>
          <delta_ts>2011-08-10 00:07:17 -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>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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="Filip Pizlo">fpizlo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>barraclough</cc>
    
    <cc>fpizlo</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>448942</commentid>
    <comment_count>0</comment_count>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2011-08-09 19:05:50 -0700</bug_when>
    <thetext>Both of these patches produced speed-ups by themselves:

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

But when combined, they produce slow-downs.  Because the latter one was a bigger speed-up, the former should probably be disabled until the reasons behind the regressions are better understood.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>448943</commentid>
    <comment_count>1</comment_count>
      <attachid>103430</attachid>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2011-08-09 19:09:09 -0700</bug_when>
    <thetext>Created attachment 103430
the patch

This improves performance on v8-crypto by 20%, bringing us back to where we were before we regressed.  It does *not* remove the heap load prediction capability; it merely disables it, making it easier to reenable it if we figure out what is going wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>448977</commentid>
    <comment_count>2</comment_count>
      <attachid>103430</attachid>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2011-08-09 22:28:43 -0700</bug_when>
    <thetext>Comment on attachment 103430
the patch

Seems like the smart move.  Should probably revert properly if we don&apos;t get these working well together, but this seems a sensible step for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>448993</commentid>
    <comment_count>3</comment_count>
      <attachid>103430</attachid>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2011-08-09 23:09:32 -0700</bug_when>
    <thetext>Comment on attachment 103430
the patch

Tests pass, ready to land.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>449001</commentid>
    <comment_count>4</comment_count>
      <attachid>103430</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-08-10 00:07:12 -0700</bug_when>
    <thetext>Comment on attachment 103430
the patch

Clearing flags on attachment: 103430

Committed r92750: &lt;http://trac.webkit.org/changeset/92750&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>449002</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-08-10 00:07:17 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>103430</attachid>
            <date>2011-08-09 19:09:09 -0700</date>
            <delta_ts>2011-08-10 00:07:12 -0700</delta_ts>
            <desc>the patch</desc>
            <filename>disableheappred_patch_1.diff</filename>
            <type>text/plain</type>
            <size>1392</size>
            <attacher name="Filip Pizlo">fpizlo</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gOTI3NDQpCisrKyBTb3VyY2Uv
SmF2YVNjcmlwdENvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTcgQEAK
KzIwMTEtMDgtMDkgIEZpbGlwIFBpemxvICA8ZnBpemxvQGFwcGxlLmNvbT4KKworICAgICAgICBE
RkcgSklUIGhlYXAgcHJlZGljdGlvbiBjYXVzZXMgcmVncmVzc2lvbnMgd2hlbiBjb21iaW5lZCB3
aXRoCisgICAgICAgIGFnZ3Jlc3NpdmUgaW50ZWdlciBwcmVkaWN0aW9uCisgICAgICAgIGh0dHBz
Oi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD02NTk1NAorCisgICAgICAgIFJldmll
d2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorICAgICAgICAKKyAgICAgICAgRGlzYWJsZWQgaGVhcCBw
cmVkaWN0aW9uLCBidXQgZGlkIG5vdCByZW1vdmUgdGhlIGNhcGFiaWxpdHkuCisgICAgICAgIFRo
aXMgaW1wcm92ZXMgVjggY3J5cHRvIHBlcmZvcm1hbmNlIGJ5IDIwJS4KKworICAgICAgICAqIGRm
Zy9ERkdHcmFwaC5oOgorICAgICAgICAoSlNDOjpERkc6OkdyYXBoOjpwcmVkaWN0KToKKwogMjAx
MS0wOC0wOSAgRmlsaXAgUGl6bG8gIDxmcGl6bG9AYXBwbGUuY29tPgogCiAgICAgICAgIERGRyBK
SVQgZG9lcyBub3Qgc3BlY3VsYXRpdmUgaW50ZWdlcnMgYXMgYWdncmVzc2l2ZWx5IGFzIGl0IHNo
b3VsZApJbmRleDogU291cmNlL0phdmFTY3JpcHRDb3JlL2RmZy9ERkdHcmFwaC5oCj09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT0KLS0tIFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9kZmcvREZHR3JhcGguaAkocmV2aXNpb24gOTI3
MzkpCisrKyBTb3VyY2UvSmF2YVNjcmlwdENvcmUvZGZnL0RGR0dyYXBoLmgJKHdvcmtpbmcgY29w
eSkKQEAgLTE2NCwxMyArMTY0LDYgQEAgcHVibGljOgogICAgICAgICBjYXNlIEdldEdsb2JhbFZh
cjoKICAgICAgICAgICAgIHByZWRpY3RHbG9iYWxWYXIobm9kZS52YXJOdW1iZXIoKSwgcHJlZGlj
dGlvbik7CiAgICAgICAgICAgICBicmVhazsKLSAgICAgICAgY2FzZSBHZXRCeUlkOgotICAgICAg
ICBjYXNlIEdldE1ldGhvZDoKLSAgICAgICAgY2FzZSBHZXRCeVZhbDoKLSAgICAgICAgY2FzZSBD
YWxsOgotICAgICAgICBjYXNlIENvbnN0cnVjdDoKLSAgICAgICAgICAgIG5vZGUucHJlZGljdChw
cmVkaWN0aW9uKTsKLSAgICAgICAgICAgIGJyZWFrOwogICAgICAgICBkZWZhdWx0OgogICAgICAg
ICAgICAgYnJlYWs7CiAgICAgICAgIH0K
</data>

          </attachment>
      

    </bug>

</bugzilla>