Bug 118329

Summary: fourthTier: add option to disable OSR entry in loops
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Filip Pizlo <fpizlo>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, ggaren, mark.lam, mhahnenberg, msaboff, oliver, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 112840    
Attachments:
Description Flags
the patch mhahnenberg: review+

Description Filip Pizlo 2013-07-02 15:32:37 PDT
Currently if you're using the FTL then OSR entry in loops tries to work, and then fails, and then pretends that it had OSR exited, and the heuristics just go downhill from there.

We should have an option to disable OSR entry in loops both for the benefit of the FTL and because it could be interesting for other testing in the future: like you want to see if OSR entry in loops is the cause of a bug, or something.
Comment 1 Filip Pizlo 2013-07-02 15:34:34 PDT
Created attachment 205948 [details]
the patch
Comment 2 Mark Hahnenberg 2013-07-02 15:52:56 PDT
Comment on attachment 205948 [details]
the patch

r=me
Comment 3 Filip Pizlo 2013-07-02 15:55:33 PDT
Landed in http://trac.webkit.org/changeset/152326