Closed Bug 1495431 Opened 2 years ago Closed 2 years ago

Expose baseline and ion JIT warm up threshold options to preferences, about:config

Categories

(Core :: JavaScript Engine: JIT, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: acreskey, Assigned: acreskey)

Details

Attachments

(1 file)

There are currently jit::JitOptions for tuning both the baseline and the ion warm up thresholds exposed through JSAPI.

This bug captures the work of exposing these options to the "about:config" preferences for easy tuning.

The ion JitOption, frequentBailoutThreshold, should also be exposed to JSAPI and Preferences.
They are already present, except that they are not exposed by default in about:config, see:

https://searchfox.org/mozilla-central/rev/819cd31a93fd50b7167979607371878c4d6f18e8/js/xpconnect/src/XPCJSContext.cpp#820-821,899-902

In about:config, you should be able to add new entries for:
  javascript.options.ion.threshold
  javascript.options.baseline.threshold
Assignee: nobody → acreskey
JIT warmup options were exposed to preferences to facilitate experimentation/optimization.

The baseline and ion warm up thresholds had already been exposed through JSAPI, just needed to read from Preferences.

The ion JitOption, frequentBailoutThreshold, was also exposed to JSAPI and Preferences.
Comment on attachment 9013383 [details]
Bug 1495431 Expose baseline and ion JIT warm up threshold options to preferences, about:config

Nicolas B. Pierron [:nbp] has approved the revision.
Attachment #9013383 - Flags: review+
Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/01634947caab
Expose baseline and ion JIT warm up threshold options to preferences, about:config r=nbp
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/01634947caab
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.