Closed Bug 853067 Opened 11 years ago Closed 11 years ago

Disable parallelarray in beta/release/esr for now

Categories

(Core :: JavaScript Engine, defect)

22 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: nmatsakis, Unassigned)

References

Details

(Keywords: dev-doc-complete, site-compat)

Attachments

(1 file)

Right now ParallelArray is always on, but there should be a preference to enable/disable it.
Blocks: 853065
Comment on attachment 727322 [details] [diff] [review]
Disable ParallelArray for beta, release, and esr

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

r+ if you change all |if (parallelEnabled)| to |if ('parallel-arrays' in getBuildConfiguration())| (or whatever name you prefer in place of 'parallel-arrays'.)

::: js/src/builtin/TestingFunctions.cpp
@@ +914,5 @@
> +    JS_SET_RVAL(cx, vp, JSVAL_FALSE);
> +#endif
> +    return true;
> +}
> +

Can you put this in GetBuildConfiguration instead?
Attachment #727322 - Flags: review?(sphink) → review+
Summary: Add a preference to enable/disable parallelarray → Disable parallelarray in beta/release/esr for now
https://hg.mozilla.org/mozilla-central/rev/44cf42a8e6e5
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
I've added this bug to the compatibility doc. Please correct the info if wrong.
https://developer.mozilla.org/en-US/docs/Site_Compatibility_for_Firefox_22

Also, please update the following docs:
https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/ParallelArray
Keywords: dev-doc-needed
(In reply to Kohei Yoshino from comment #5)
> Also, please update the following docs:
> https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/
> ParallelArray

Added a note.
OS: Mac OS X → All
Hardware: x86 → All
Depends on: 861705
Blocks: 867019
Keywords: site-compat
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: