Open Bug 1902835 Opened 11 days ago Updated 8 days ago

Don't serialize modules compiled with builtins

Categories

(Core :: JavaScript: WebAssembly, defect, P2)

defect

Tracking

()

ASSIGNED

People

(Reporter: rhunt, Assigned: rhunt)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

If a module is compile with js-string-builtins, we need to be careful to not serialize/deserialize as our caching system doesn't have a way for us to key the alternative data cache off of the requested builtins.

Builtin modules change the JIT code. A future fetch + compile of a module
may choose to not use builtin modules, so the cached module we store in
the alt-data of a fetch is only sometimes valid. We would need to validate
the cached version's builtin modules matches the new requested compile's
options. Our system doesn't have an easy way to do that right now, so
just disable caching of these modules for now.

Depends on D213866

Assignee: nobody → rhunt
Status: NEW → ASSIGNED
Blocks: 1903131
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: