WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
76271
JSC/DOM bindings: Reduce HandleHeap churn in cacheWrapper().
https://bugs.webkit.org/show_bug.cgi?id=76271
Summary
JSC/DOM bindings: Reduce HandleHeap churn in cacheWrapper().
Andreas Kling
Reported
2012-01-13 06:19:19 PST
JSC/DOM bindings: Reduce HandleHeap churn in cacheWrapper().
Attachments
Patch
(1.81 KB, patch)
2012-01-13 06:21 PST
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2012-01-13 06:21:17 PST
Created
attachment 122422
[details]
Patch
Andreas Kling
Comment 2
2012-01-13 08:35:40 PST
Comment on
attachment 122422
[details]
Patch Clearing flags on attachment: 122422 Committed
r104941
: <
http://trac.webkit.org/changeset/104941
>
Andreas Kling
Comment 3
2012-01-13 08:35:50 PST
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 4
2012-01-13 08:41:42 PST
By the way, another way to do this that might be less roundabout would be to add a function that does assignment for JSC::Weak. Something named “set” or “assign”. We’d use that instead of “construct and swap”. I have a possibly-unfounded suspicion move semantics in C++11 also would have helped do this in a more elegant way, but we can’t rely on that at this time.
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