We can reclaim ElementData memory sooner if we drop the DocumentSharedObjectPool the instant we go into PageCache.
Created attachment 272780 [details] Patch
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.
Comment on attachment 272780 [details] Patch Clearing flags on attachment: 272780 Committed r197552: <http://trac.webkit.org/changeset/197552>
All reviewed patches have been landed. Closing bug.
Reverted r197552 for reason: May have caused a ~2% PLT regression on iOS Committed r198500: <http://trac.webkit.org/changeset/198500>
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>
Re-landed in r198658 as it does not seem it caused a PLT regression after all. Sorry about the noise.