<?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>39414</bug_id>
          
          <creation_ts>2010-05-20 01:49:51 -0700</creation_ts>
          <short_desc>Allow custom memory allocation control for String class</short_desc>
          <delta_ts>2011-06-02 10:06: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>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          <dependson>33896</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Zoltan Horvath">zoltan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andersca</cc>
    
    <cc>bfulgham</cc>
    
    <cc>levin</cc>
    
    <cc>sam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>228275</commentid>
    <comment_count>0</comment_count>
    <who name="Zoltan Horvath">zoltan</who>
    <bug_when>2010-05-20 01:49:51 -0700</bug_when>
    <thetext>Inherits the following class from FastAllocBase because it is instantiated by &apos;new&apos;:                                     

class name    - instantiated at: WebCore/&apos;location&apos;
String        - xml/XPathParser.cpp:446</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>228276</commentid>
    <comment_count>1</comment_count>
      <attachid>56575</attachid>
    <who name="Zoltan Horvath">zoltan</who>
    <bug_when>2010-05-20 01:51:48 -0700</bug_when>
    <thetext>Created attachment 56575
proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>228581</commentid>
    <comment_count>2</comment_count>
      <attachid>56575</attachid>
    <who name="Sam Weinig">sam</who>
    <bug_when>2010-05-20 14:44:17 -0700</bug_when>
    <thetext>Comment on attachment 56575
proposed patch

This will increase the size of all String objects by a word under gcc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>228590</commentid>
    <comment_count>3</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2010-05-20 14:58:34 -0700</bug_when>
    <thetext>fyi, the simple patch https://bugs.webkit.org/show_bug.cgi?id=39327 would make this patch cause build breaks for easier detection of this problem.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>56575</attachid>
            <date>2010-05-20 01:51:48 -0700</date>
            <delta_ts>2010-06-11 13:03:30 -0700</delta_ts>
            <desc>proposed patch</desc>
            <filename>String.class</filename>
            <type>text/plain</type>
            <size>1323</size>
            <attacher name="Zoltan Horvath">zoltan</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL3d0Zi90ZXh0L1dURlN0cmluZy5oCj09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0t
IEphdmFTY3JpcHRDb3JlL3d0Zi90ZXh0L1dURlN0cmluZy5oCShyZXZpc2lvbiA1OTgyNCkKKysr
IEphdmFTY3JpcHRDb3JlL3d0Zi90ZXh0L1dURlN0cmluZy5oCSh3b3JraW5nIGNvcHkpCkBAIC04
Myw3ICs4Myw3IEBACiBpbnQgZmluZChjb25zdCBVQ2hhciosIHNpemVfdCwgVUNoYXIsIGludCBz
dGFydFBvc2l0aW9uID0gMCk7CiBpbnQgcmV2ZXJzZUZpbmQoY29uc3QgVUNoYXIqLCBzaXplX3Qs
IFVDaGFyLCBpbnQgc3RhcnRQb3NpdGlvbiA9IC0xKTsKIA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ICAgICAgICAqIHd0Zi90ZXh0L1dURlN0cmluZy5oOgorCiAyMDEwLTA1LTE5ICBHYXZpbiBCYXJy
YWNsb3VnaCAgPGJhcnJhY2xvdWdoQGFwcGxlLmNvbT4KIAogICAgICAgICBSZXZpZXdlZCBieSBH
ZW9mZiBHYXJlbi4K
</data>
<flag name="review"
          id="41029"
          type_id="1"
          status="-"
          setter="sam"
    />
          </attachment>
      

    </bug>

</bugzilla>