Open Bug 1338736 Opened 7 years ago Updated 2 years ago

Try notes and yield offset arrays should be shared

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

People

(Reporter: shu, Unassigned)

Details

(Keywords: triage-deferred)

Both try notes and yield offsets are compartment-less data (they're not even GC things), and should be moved to SharedScriptData.
Additional things that should be shared:

 - The scalar fields that are semantically dependent on the bytecode: mainOffset_, nfixed_, nslots_
 - The bit fields that are semantic properties of the script (e.g. argsHasVarBinding_, isAsync_) instead of runtime profiled information (e.g. failedBoundsCheck_). Someone would need to audit the fields to separate the two kinds of flags.
Keywords: triage-deferred
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.