Closed Bug 1910194 Opened 4 months ago Closed 3 months ago

Implement speculative inlining

Categories

(Core :: JavaScript: WebAssembly, task, P1)

task

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: rhunt, Assigned: rhunt)

References

(Blocks 1 open bug)

Details

Attachments

(7 files)

Collect profiling information for call_ref when we're using lazy tiering and use that to speculatively inline monomorphic calls.

Depends on D217878

Depends on D217879

Attachment #9416379 - Attachment description: WIP: Bug 1910194 - wasm: Add call_ref profiling information. → Bug 1910194 - wasm: Add call_ref profiling information. r?jseward
Attachment #9416380 - Attachment description: WIP: Bug 1910194 - wasm: Add funcExportIndices, rework getExportedFunction, rework FuncImport. → Bug 1910194 - wasm: Add funcExportIndices, rework getExportedFunction, rework FuncImport. r?jseward
Attachment #9416381 - Attachment description: WIP: Bug 1910194 - wasm: Pack FuncExport better. → Bug 1910194 - wasm: Pack FuncExport better. r?jseward
Attachment #9416382 - Attachment description: WIP: Bug 1910194 - wasm: Speculative inlining of call_ref. → Bug 1910194 - wasm: Speculative inlining of call_ref. r?jseward
Attachment #9416383 - Attachment description: WIP: Bug 1910194 - wasm: Add testing functions and improve speculative inlining test. → Bug 1910194 - wasm: Add testing functions and improve speculative inlining test. r?jseward

Fixes an assertion with unwinding.

Depends on D217881

OnLargeAllocationFailure can trigger a GC in the shell and browser
which can trigger our 'no-gc' assertion in the tier up request stub.

Depends on D218598

Pushed by rhunt@eqrion.net: https://hg.mozilla.org/integration/autoland/rev/3036a61e79dd wasm: Add call_ref profiling information. r=jseward https://hg.mozilla.org/integration/autoland/rev/c9430ea63a98 wasm: Add funcExportIndices, rework getExportedFunction, rework FuncImport. r=jseward https://hg.mozilla.org/integration/autoland/rev/a7860dc2f7a9 wasm: Pack FuncExport better. r=jseward https://hg.mozilla.org/integration/autoland/rev/54aff33ecacf wasm: Speculative inlining of call_ref. r=jseward https://hg.mozilla.org/integration/autoland/rev/b183afa18a9b wasm: Add testing functions and improve speculative inlining test. r=jseward https://hg.mozilla.org/integration/autoland/rev/bf14cd231f29 wasm: Fix hasRet() for RequestTierUpStub. r=jseward https://hg.mozilla.org/integration/autoland/rev/702768809782 wasm: Don't do last-ditch GC for partial tiering. r=jseward https://hg.mozilla.org/integration/autoland/rev/96b4ce0263ec apply code formatting via Lando
Regressions: 1912741
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: