Try notes and yield offset arrays should be shared

NEW
Unassigned

Status

()

Core
JavaScript Engine
P3
normal
a year ago
4 months ago

People

(Reporter: shu, Unassigned)

Tracking

({triage-deferred})

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
Both try notes and yield offsets are compartment-less data (they're not even GC things), and should be moved to SharedScriptData.
(Reporter)

Comment 1

a year ago
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
You need to log in before you can comment on or make changes to this bug.