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: | JavaScriptCore | Assignee: | 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 | ||
Filip Pizlo
They shouldn't oversubscribe the spare CPU.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Filip Pizlo
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.