Open
Bug 2033906
Opened 4 days ago
Updated 2 days ago
Fix wasmExtractCode for lazy tiering
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Core
JavaScript: WebAssembly
Tracking
()
NEW
People
(Reporter: yury, Assigned: yury)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
Currently, wasmExtractCode does not return anything for incomplete tier. It will be nice to have at least incomplete module dump for instrumentation and diagnostics.
| Assignee | ||
Comment 1•4 days ago
|
||
Add Code::partialTierCodeBlock() which scans funcStates_ for the first
installed tier-2 CodeBlock. Module::extractCode falls back to it when
hasCompleteTier(Optimized) is false and the requested tier is Optimized.
Updated•4 days ago
|
Severity: -- → N/A
Priority: -- → P3
| Assignee | ||
Comment 2•2 days ago
|
||
In lazy tiering each tiered-up function gets its own CodeBlock.
Add Code::allPartialTierCodeBlocks() to collect all distinct installed
tier-2 CodeBlocks, and refactor Module::extractCode to iterate over a
vector of blocks, concatenating their code and adjusting offsets.
Updated•2 days ago
|
Attachment #9572210 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•