<?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>142686</bug_id>
          
          <creation_ts>2015-03-13 18:37:42 -0700</creation_ts>
          <short_desc>Object allocation sinking phase shouldn&apos;t re-decorate previously sunken allocations on each fixpoint operation</short_desc>
          <delta_ts>2015-03-13 19:51:36 -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>
          
          <blocked>141174</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Filip Pizlo">fpizlo</reporter>
          <assigned_to name="Filip Pizlo">fpizlo</assigned_to>
          <cc>barraclough</cc>
    
    <cc>benjamin</cc>
    
    <cc>ggaren</cc>
    
    <cc>mark.lam</cc>
    
    <cc>mhahnenb</cc>
    
    <cc>mmirman</cc>
    
    <cc>msaboff</cc>
    
    <cc>nrotem</cc>
    
    <cc>oliver</cc>
    
    <cc>saam</cc>
    
    <cc>sam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1077092</commentid>
    <comment_count>0</comment_count>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2015-03-13 18:37:42 -0700</bug_when>
    <thetext>When you run the elidable-new-object-roflcopter test, you&apos;ll see that there are many repeated PutStructureHints and PutByOffsetHints.  These are because we handle already-sunken allocations from previous fixpoint iterations inside the code for handling those allocations we are sinking on *this* fixpoint iteration.  This is a mostly benign bug; its main effect is that if the phase does many fixpoint iterations then you&apos;ll get a lot of duplicated code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1077093</commentid>
    <comment_count>1</comment_count>
      <attachid>248631</attachid>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2015-03-13 18:39:21 -0700</bug_when>
    <thetext>Created attachment 248631
the patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1077113</commentid>
    <comment_count>2</comment_count>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2015-03-13 19:51:36 -0700</bug_when>
    <thetext>Landed in http://trac.webkit.org/changeset/181495</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>248631</attachid>
            <date>2015-03-13 18:39:21 -0700</date>
            <delta_ts>2015-03-13 18:58:04 -0700</delta_ts>
            <desc>the patch</desc>
            <filename>blah.patch</filename>
            <type>text/plain</type>
            <size>3265</size>
            <attacher name="Filip Pizlo">fpizlo</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gMTgxNDkyKQorKysgU291cmNl
L0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDIwIEBA
CisyMDE1LTAzLTEzICBGaWxpcCBQaXpsbyAgPGZwaXpsb0BhcHBsZS5jb20+CisKKyAgICAgICAg
T2JqZWN0IGFsbG9jYXRpb24gc2lua2luZyBwaGFzZSBzaG91bGRuJ3QgcmUtZGVjb3JhdGUgcHJl
dmlvdXNse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bmtpbmdQaGFzZS5jcHAKPT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291cmNl
L0phdmFTY3JpcHRDb3JlL2RmZy9ERkdPYmplY3RBbGxvY2F0aW9uU2lua2luZ1BoYXNlLmNwcAko
cmV2aXNpb24gMTgxNDg0KQorKysgU291cmNlL0phdmFTY3JpcHRDb3JlL2RmZy9ERkdPYmplY3RB
bGxvY2F0aW9uU2lua2luZ1BoYXNlLmNwcAkod29ya2luZyBjb3B5KQpAQCAtNTgxLDEwICs1ODEs
MTIgQEAgcHJpdmF0ZToKICAgICAgICAgICAgICAgICBwcm9tb3RlSGVhcEFjY2VzcygKICAgICAg
ICAgICAgICAgICAgICAgbm9kZSwKICAgICAgICAgICAgICAgICAgICAgWyZdIChQcm9tb3RlZEhl
YXBMb2NhdGlvbiBsb2NhdGlvbiwgRWRnZSkgewotICAgICAgICAgICAgICAgICAgICAgICAgbG9j
YXRpb25zLmFkZChsb2NhdGlvbik7CisgICAgICAgICAgICAgICAgICAgICAgICBpZiAobV9zaW5r
Q2FuZGlkYXRlcy5jb250YWlucyhsb2NhdGlvbi5iYXNlKCkpKQorICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIGxvY2F0aW9ucy5hZGQobG9jYXRpb24pOwogICAgICAgICAgICAgICAgICAgICB9
LAogICAgICAgICAgICAgICAgICAgICBbJl0gKFByb21vdGVkSGVhcExvY2F0aW9uIGxvY2F0aW9u
KSB7Ci0gICAgICAgICAgICAgICAgICAgICAgICBsb2NhdGlvbnMuYWRkKGxvY2F0aW9uKTsKKyAg
ICAgICAgICAgICAgICAgICAgICAgIGlmIChtX3NpbmtDYW5kaWRhdGVzLmNvbnRhaW5zKGxvY2F0
aW9uLmJhc2UoKSkpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgbG9jYXRpb25zLmFkZChs
b2NhdGlvbik7CiAgICAgICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgfQogICAgICAg
ICB9CkBAIC02MzYsNiArNjM4LDggQEAgcHJpdmF0ZToKICAgICAgICAgICAgICAgICBwcm9tb3Rl
SGVhcEFjY2VzcygKICAgICAgICAgICAgICAgICAgICAgbm9kZSwKICAgICAgICAgICAgICAgICAg
ICAgWyZdIChQcm9tb3RlZEhlYXBMb2NhdGlvbiBsb2NhdGlvbiwgRWRnZSB2YWx1ZSkgeworICAg
ICAgICAgICAgICAgICAgICAgICAgaWYgKCFtX3NpbmtDYW5kaWRhdGVzLmNvbnRhaW5zKGxvY2F0
aW9uLmJhc2UoKSkpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuOwogICAgICAg
ICAgICAgICAgICAgICAgICAgU1NBQ2FsY3VsYXRvcjo6VmFyaWFibGUqIHZhcmlhYmxlID0gbV9s
b2NhdGlvblRvVmFyaWFibGUuZ2V0KGxvY2F0aW9uKTsKICAgICAgICAgICAgICAgICAgICAgICAg
IG1fc3NhQ2FsY3VsYXRvci5uZXdEZWYodmFyaWFibGUsIGJsb2NrLCB2YWx1ZS5ub2RlKCkpOwog
ICAgICAgICAgICAgICAgICAgICB9LApAQCAtNjg3LDEwICs2OTEsMTIgQEAgcHJpdmF0ZToKICAg
ICAgICAgICAgICAgICBwcm9tb3RlSGVhcEFjY2VzcygKICAgICAgICAgICAgICAgICAgICAgbm9k
ZSwKICAgICAgICAgICAgICAgICAgICAgWyZdIChQcm9tb3RlZEhlYXBMb2NhdGlvbiBsb2NhdGlv
biwgRWRnZSB2YWx1ZSkgewotICAgICAgICAgICAgICAgICAgICAgICAgbV9sb2NhbE1hcHBpbmcu
c2V0KGxvY2F0aW9uLCB2YWx1ZS5ub2RlKCkpOworICAgICAgICAgICAgICAgICAgICAgICAgaWYg
KG1fc2lua0NhbmRpZGF0ZXMuY29udGFpbnMobG9jYXRpb24uYmFzZSgpKSkKKyAgICAgICAgICAg
ICAgICAgICAgICAgICAgICBtX2xvY2FsTWFwcGluZy5zZXQobG9jYXRpb24sIHZhbHVlLm5vZGUo
KSk7CiAgICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAgICAgIFsmXSAoUHJv
bW90ZWRIZWFwTG9jYXRpb24gbG9jYXRpb24pIHsKLSAgICAgICAgICAgICAgICAgICAgICAgIG5v
ZGUtPnJlcGxhY2VXaXRoKHJlc29sdmUoYmxvY2ssIGxvY2F0aW9uKSk7CisgICAgICAgICAgICAg
ICAgICAgICAgICBpZiAobV9zaW5rQ2FuZGlkYXRlcy5jb250YWlucyhsb2NhdGlvbi5iYXNlKCkp
KQorICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5vZGUtPnJlcGxhY2VXaXRoKHJlc29sdmUo
YmxvY2ssIGxvY2F0aW9uKSk7CiAgICAgICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAg
fQogICAgICAgICAgICAgCg==
</data>
<flag name="review"
          id="273510"
          type_id="1"
          status="+"
          setter="oliver"
    />
          </attachment>
      

    </bug>

</bugzilla>