Open Bug 835564 Opened 11 years ago Updated 2 years ago

BaselineCompiler: Add placeholder stub in UseCount IC chain to handle background compilation.

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: djvj, Unassigned)

References

Details

As Jan noted in bug 805877 comment 12, we can properly handle Baseline->Ion OSR in the presence of background compilation.  When the fallback stub detects a background compilation, it attaches an optimized stub to the chain that checks for this condition.  If the background compilation is still ongoing, then the optimized stub returns, otherwise it yields to the fallback stub which then performs the compilation, if possible.
Assignee: general → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.