Bug 83335 - Call Heap::discardAllCompiledCode() in low memory situations
Summary: Call Heap::discardAllCompiledCode() in low memory situations
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Michael Saboff
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-04-05 17:22 PDT by Michael Saboff
Modified: 2012-04-06 09:09 PDT (History)
0 users

See Also:


Attachments
Patch (5.86 KB, patch)
2012-04-05 17:38 PDT, Michael Saboff
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Saboff 2012-04-05 17:22:03 PDT
Bug https://bugs.webkit.org/show_bug.cgi?id=80330 "Refactor recompileAllJSFunctions() to be less expensive" introduced an efficient way to discard all JIT code.  THis should be called when we receive a low memory warning.

<rdar://problem/11151063>
Comment 1 Michael Saboff 2012-04-05 17:38:29 PDT
Created attachment 135945 [details]
Patch
Comment 2 Geoffrey Garen 2012-04-05 22:11:08 PDT
Comment on attachment 135945 [details]
Patch

r=me
Comment 3 Michael Saboff 2012-04-06 09:09:54 PDT
Committed r113445: <http://trac.webkit.org/changeset/113445>