Bug 39414 - Allow custom memory allocation control for String class
Summary: Allow custom memory allocation control for String class
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
Depends on: 33896
  Show dependency treegraph
Reported: 2010-05-20 01:49 PDT by Zoltan Horvath
Modified: 2011-06-02 10:06 PDT (History)
4 users (show)

See Also:

proposed patch (1.29 KB, patch)
2010-05-20 01:51 PDT, Zoltan Horvath
sam: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltan Horvath 2010-05-20 01:49:51 PDT
Inherits the following class from FastAllocBase because it is instantiated by 'new':                                     

class name    - instantiated at: WebCore/'location'
String        - xml/XPathParser.cpp:446
Comment 1 Zoltan Horvath 2010-05-20 01:51:48 PDT
Created attachment 56575 [details]
proposed patch
Comment 2 Sam Weinig 2010-05-20 14:44:17 PDT
Comment on attachment 56575 [details]
proposed patch

This will increase the size of all String objects by a word under gcc.
Comment 3 David Levin 2010-05-20 14:58:34 PDT
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.