Bug 149999 - Reduce pointless malloc traffic in CodeBlock construction.
Summary: Reduce pointless malloc traffic in CodeBlock construction.
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: Performance
: 149998 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-10 08:37 PDT by Andreas Kling
Modified: 2015-10-10 14:15 PDT (History)
2 users (show)

See Also:


Attachments
Patch (3.26 KB, patch)
2015-10-10 08:42 PDT, 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 2015-10-10 08:37:58 PDT
We can create the RefCountedArray<Instruction> directly instead of first creating a Vector<Instruction> and then building the RefCountedArray from that.
Comment 1 Andreas Kling 2015-10-10 08:42:55 PDT
Created attachment 262827 [details]
Patch
Comment 2 Pratik Solanki 2015-10-10 09:02:27 PDT
*** Bug 149998 has been marked as a duplicate of this bug. ***
Comment 3 Andreas Kling 2015-10-10 14:15:37 PDT
Comment on attachment 262827 [details]
Patch

Clearing flags on attachment: 262827

Committed r190843: <http://trac.webkit.org/changeset/190843>
Comment 4 Andreas Kling 2015-10-10 14:15:44 PDT
All reviewed patches have been landed.  Closing bug.