Bug 154806 - Make JSFunction.name allocation fully lazy.
Summary: Make JSFunction.name allocation fully lazy.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-28 18:31 PST by Andreas Kling
Modified: 2016-02-28 21:26 PST (History)
5 users (show)

See Also:


Attachments
Patch (5.68 KB, patch)
2016-02-28 18:32 PST, Andreas Kling
no flags Details | Formatted Diff | Diff
Patch (6.51 KB, patch)
2016-02-28 18:35 PST, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2016-02-28 18:31:37 PST
JSFunction.name could be lazier, it's sad that we're creating a JSString for every function.
Comment 1 Andreas Kling 2016-02-28 18:32:06 PST
Created attachment 272472 [details]
Patch
Comment 2 Andreas Kling 2016-02-28 18:35:02 PST
Created attachment 272473 [details]
Patch
Comment 3 Saam Barati 2016-02-28 20:11:17 PST
Comment on attachment 272473 [details]
Patch

r=me
Comment 4 WebKit Commit Bot 2016-02-28 21:25:59 PST
Comment on attachment 272473 [details]
Patch

Clearing flags on attachment: 272473

Committed r197308: <http://trac.webkit.org/changeset/197308>
Comment 5 WebKit Commit Bot 2016-02-28 21:26:03 PST
All reviewed patches have been landed.  Closing bug.