WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
142090
Use NeverDestroyed for JS wrapper owners.
https://bugs.webkit.org/show_bug.cgi?id=142090
Summary
Use NeverDestroyed for JS wrapper owners.
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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2015-02-27 10:50:10 PST
Created
attachment 247522
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug