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

RESOLVED FIXED in Firefox 64

Status

()

enhancement
RESOLVED FIXED
8 months ago
8 months ago

People

(Reporter: acreskey, Assigned: acreskey)

Tracking

unspecified
mozilla64
Points:
---

Firefox Tracking Flags

(firefox64 fixed)

Details

Attachments

(1 attachment)

Assignee

Description

8 months ago
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

Updated

8 months ago
Assignee: nobody → acreskey
Assignee

Comment 2

8 months ago
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+
Assignee

Updated

8 months ago
Keywords: checkin-needed

Comment 4

8 months ago
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

Comment 5

8 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/01634947caab
Status: NEW → RESOLVED
Last Resolved: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.