Bug 132173 - In case there is only one spare CPU, the DFG and FTL worklist threads should cooperate
Summary: In case there is only one spare CPU, the DFG and FTL worklist threads should ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-24 23:01 PDT by Filip Pizlo
Modified: 2014-04-24 23:05 PDT (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.