Bug 83335

Summary: Call Heap::discardAllCompiledCode() in low memory situations
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: WebCore Misc.Assignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch ggaren: review+

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>