Bug 39414

Summary: Allow custom memory allocation control for String class
Product: WebKit Reporter: Zoltan Horvath <zoltan>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andersca, bfulgham, levin, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Bug Depends on: 33896    
Bug Blocks:    
Attachments:
Description Flags
proposed patch sam: review-

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.