Summary: | Clear the JSString cache when under memory pressure. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||
Component: | Bindings | Assignee: | Andreas Kling <kling> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Andreas Kling
2014-05-03 19:09:06 PDT
Created attachment 230779 [details]
Patch
Comment on attachment 230779 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=230779&action=review > Source/WebCore/platform/MemoryPressureHandler.cpp:112 > + { > + ReliefLogger log("Clearing JS string cache"); > + JSDOMWindow::commonVM().stringCache.clear(); > + } We really need to find a way for this to be less of a layering violation haven. Comment on attachment 230779 [details] Patch Clearing flags on attachment: 230779 Committed r168235: <http://trac.webkit.org/changeset/168235> All reviewed patches have been landed. Closing bug. |