WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
154986
Drop DocumentSharedObjectPool immediately when going into PageCache.
https://bugs.webkit.org/show_bug.cgi?id=154986
Summary
Drop DocumentSharedObjectPool immediately when going into PageCache.
Andreas Kling
Reported
2016-03-03 15:32:20 PST
We can reclaim ElementData memory sooner if we drop the DocumentSharedObjectPool the instant we go into PageCache.
Attachments
Patch
(2.90 KB, patch)
2016-03-03 15:32 PST
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2016-03-03 15:32:57 PST
Created
attachment 272780
[details]
Patch
Antti Koivisto
Comment 2
2016-03-03 15:39:21 PST
Comment on
attachment 272780
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=272780&action=review
> Source/WebCore/dom/Document.cpp:5049 > -void Document::sharedObjectPoolClearTimerFired() > +void Document::clearSharedObjectPool()
I often keep *TimerFired function that just calls a payload function. Makes it easier to see what is what.
WebKit Commit Bot
Comment 3
2016-03-04 01:02:51 PST
Comment on
attachment 272780
[details]
Patch Clearing flags on attachment: 272780 Committed
r197552
: <
http://trac.webkit.org/changeset/197552
>
WebKit Commit Bot
Comment 4
2016-03-04 01:02:55 PST
All reviewed patches have been landed. Closing bug.
Chris Dumez
Comment 5
2016-03-21 15:07:36 PDT
Reverted
r197552
for reason: May have caused a ~2% PLT regression on iOS Committed
r198500
: <
http://trac.webkit.org/changeset/198500
>
Chris Dumez
Comment 6
2016-03-24 19:24:53 PDT
Reverted
r198500
for reason: Roll back in
r197552
as it did not seem to cause a PLT regression after all Committed
r198658
: <
http://trac.webkit.org/changeset/198658
>
Chris Dumez
Comment 7
2016-03-24 19:25:59 PDT
Re-landed in
r198658
as it does not seem it caused a PLT regression after all. Sorry about the noise.
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