Jit does not run at all for evalInWorker scripts in the JS shell

RESOLVED FIXED in Firefox 39

Status

()

Core
JavaScript Engine
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: lth, Assigned: lth)

Tracking

unspecified
mozilla39
x86_64
Linux
Points:
---

Firefox Tracking Flags

(firefox39 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
Looks like the JIT is never triggered at all for evalInWorker scripts in the JS shell.  This makes testing the SAB/Atomics work harder (forces it into the browser).
(Assignee)

Comment 1

3 years ago
Runtime options not properly set on the worker runtime.
(Assignee)

Comment 2

3 years ago
Created attachment 8569067 [details] [diff] [review]
Copy compiler options from the main thread

I'm guessing more could be done, eg, copying over more memory settings, but this at least enables the JIT.
Attachment #8569067 - Flags: review?(hv1989)
Comment on attachment 8569067 [details] [diff] [review]
Copy compiler options from the main thread

Review of attachment 8569067 [details] [diff] [review]:
-----------------------------------------------------------------

This looks good to me.
But I even didn't know we could run workers in the shell. That is exciting!!!
So forwarding to Brian, since he added that code.
Attachment #8569067 - Flags: review?(hv1989) → review?(bhackett1024)
Attachment #8569067 - Flags: review?(bhackett1024) → review+
https://hg.mozilla.org/mozilla-central/rev/75c2c9a3e09d
https://hg.mozilla.org/mozilla-central/rev/9b55a4690632
Assignee: nobody → lhansen
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox39: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.