Bug 142090

Summary: Use NeverDestroyed for JS wrapper owners.
Product: WebKit Reporter: Andreas Kling <kling>
Component: WebCore JavaScriptAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue
Priority: P2 Keywords: Performance
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Andreas Kling
Reported 2015-02-27 10:48:25 PST
We should use WTF::NeverDestroyed for all the JSFooOwner classes that we generate. That will prevent them from pinning down large malloc pages long after we've navigated away from the site that instantiated them.
Attachments
Patch (16.05 KB, patch)
2015-02-27 10:50 PST, Andreas Kling
no flags
Andreas Kling
Comment 1 2015-02-27 10:50:10 PST
Chris Dumez
Comment 2 2015-02-27 10:52:05 PST
Comment on attachment 247522 [details] Patch r=me.
WebKit Commit Bot
Comment 3 2015-02-27 11:52:30 PST
Comment on attachment 247522 [details] Patch Clearing flags on attachment: 247522 Committed r180772: <http://trac.webkit.org/changeset/180772>
WebKit Commit Bot
Comment 4 2015-02-27 11:52:35 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.