Closed Bug 895946 Opened 11 years ago Closed 9 years ago

PJS: arrow-function as kernel bails out; does not parallelize

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: pnkfelix, Unassigned)

References

Details

Summary:

This bails: new ParallelArray([1000], (x) => x)

This works:  new ParallelArray([1000], function (x) { return x; })


Transcript illustrating problem:

% hg log -l 1
changeset:   139261:5e29b812885c
tag:         tip
user:        Felix S. Klock II <pnkfelix@pnkfx.org>
date:        Wed Jul 17 09:58:00 2013 +0200
summary:     Bug 894854: env var disabling censoring of self-hosted script frames (r=till)

% grep configure_args config.status
    (''' ac_configure_args ''', r'''  --enable-debug --disable-optimize --with-ccache --enable-threadsafe --with-system-nspr --with-nspr-prefix=/Users/fklock/opt/nspr-dbg '--prefix=~/opt/js-dbg-nopt' '''),

% PAFLAGS=bailouts ./js
js> new ParallelArray([1000], function (x) { return x; }).length
new ParallelArray([1000], function (x) { return x; }).length
1000
js> new ParallelArray([1000], (x) => x).length
new ParallelArray([1000], (x) => x).length
[Parallel:7] Parallel abort with cause 12 in 103b65830:self-hosted:2997 (103b65830:self-hosted:2997 at line 2999)
[Parallel:7] Propagate parallel abort via 103b65768:self-hosted:2980 (103b65768:self-hosted:2980)
[Parallel:1] Parallel abort with cause 12 in 103b65830:self-hosted:2997 (103b65830:self-hosted:2997 at line 2999)
[Parallel:0] Parallel abort with cause 12 in 103b65830:self-hosted:2997 (103b65830:self-hosted:2997 at line 2999)
... [etc] ...
1000
js>
Assignee: general → nobody
Blocks: PJS
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.