Bug 1661079 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

To pass CompilationInfo between threads, containers used there shouldn't use js::TempAllocPolicy, otherwise it will refer JSContext in other thread.

This will leave `cx` field, given it's easy to workaround it and fixing it later is simpler
To pass CompilationInfo between threads, containers used there shouldn't use js::TempAllocPolicy, otherwise it will refer JSContext in other thread.
All containers used there should use `js::SystemAllocPolicy`, and manually report OOM.

This bug will leave `CompilationInfo.cx` field, given it's easy to workaround it and fixing it later is simpler

Back to Bug 1661079 Comment 0