Closed
Bug 1456834
Opened 7 years ago
Closed 4 years ago
Prevent re-computation of the bytecode-cache if necko cannot store the content.
Categories
(Core :: JavaScript Engine, enhancement, P2)
Core
JavaScript Engine
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: nbp, Assigned: nbp)
References
Details
Bug 1448476 is adding a mechanism to report alternate data output stream failures, due to large disk entries.
Currently, in case of failure, the bytecode cache will not recall any failure state and keep re-encoding on the next page-loads. The serialization requires some computation which has some page-load overhead (~10%) and some memory overhead as well.
In such failures, we should use the mCacheInfo to SetMetaDataElement and GetMetaDataElement as a way to record a boolean which would prevent future encoding of the bytecode.
Assignee | ||
Updated•7 years ago
|
Summary: Prevent re-computation of the bytecode-cache if the necko cannot store the content. → Prevent re-computation of the bytecode-cache if necko cannot store the content.
Assignee | ||
Comment 1•4 years ago
|
||
This issue is not longer needed as the cache is storing Stencil (Bug 1601332) instead of XDR content, and Stencil is the result of the parser. Thus, there is a smaller overhead at trying to encode the content to be stored in the cache.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•