Bug 132173

Summary: In case there is only one spare CPU, the DFG and FTL worklist threads should cooperate
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Filip Pizlo <fpizlo>
Status: NEW ---    
Severity: Normal CC: atrick, barraclough, ggaren, juergen, mark.lam, mhahnenberg, msaboff, nrotem, oliver, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Filip Pizlo 2014-04-24 23:01:30 PDT
They shouldn't oversubscribe the spare CPU.
Comment 1 Filip Pizlo 2014-04-24 23:05:10 PDT
Some ideas:

- DFG plans should always go ahead of FTL plans.
- The two threads should only be parallel during LLVM compilation.
- The FTL thread should only proceed if the DFG thread is silent.