Closed Bug 1664182 Opened 5 years ago Closed 5 years ago

Store javascript.options.off_thread_parse_global pref value in static, instead of ContextOption

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

We'll need to append javascript.options.off_thread_parse_global value to transcoding build ID
https://searchfox.org/mozilla-central/rev/8a0745cd346f0cfb89ae71690babbf7bff706113/js/src/vm/Xdr.cpp#170-198

where JSContext isn't available.

currently it's stored into ContextOption and then copied to each CompileOption.
We should add some static storage and use it instead of ContextOption.

Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/418886657e74 Add JS::SetUseOffThreadParseGlobal and js::UseOffThreadParseGlobal, replacing JS::ContextOptions::setUseOffThreadParseGlobal. r=tcampbell
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: