Closed Bug 1660346 Opened 4 years ago Closed 4 years ago

Intermittent js/src/jit-test/tests/gc/helper-thread-params.js | Timeout (code -6, args "") [150.0 s]

Categories

(Core :: JavaScript Engine, defect, P1)

defect

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox80 --- unaffected
firefox81 --- wontfix
firefox82 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: jonco)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=313584196&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/XA3FeIr0QXWLTUzgznNp7g/runs/0/artifacts/public/logs/live_backing.log


[task 2020-08-20T21:01:25.921Z] TEST-PASS | js/src/jit-test/tests/ion/super-getelem-profiling.js | Success (code 0, args "--baseline-eager") [0.6 s]
[task 2020-08-20T21:01:26.026Z] Exit code: -6
[task 2020-08-20T21:01:26.026Z] TIMEOUT - gc/helper-thread-params.js
[task 2020-08-20T21:01:26.026Z] TEST-UNEXPECTED-FAIL | js/src/jit-test/tests/gc/helper-thread-params.js | Timeout (code -6, args "") [150.0 s]
[task 2020-08-20T21:01:26.026Z] INFO exit-status : -6
[task 2020-08-20T21:01:26.026Z] INFO timed-out : 0:00:00.028384

Regressed by: 1657850
Has Regression Range: --- → yes
Keywords: regression
Assignee: nobody → jcoppeard
Severity: normal → S4
Priority: P5 → P1

Previously HelperThread instances lived in the GlobalHelperThreadState vector.
This meant that resizing the vector could move the objects in memory which was
not safe. Also HelperThread members were not always initialized. I'm not sure
how this managed to work.

This changes the vector to contain pointers to HelperThreads which now won't
get moved. Also, for some reason the vector itself was a separate allocation
which was unnecessary. The patch makes this part of the main object.

I added a threads() method taking a lock reference since the thread list can
now change after initialization. Finally I simplified the thread creation
loop.

Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/13f1813b7ce8
Rework helper thread creation to allow more threads to be added r=sfink
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a1aebd8ee631
Rework helper thread creation to allow more threads to be added r=sfink

Set release status flags based on info from the regressing bug 1657850

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Flags: needinfo?(jcoppeard)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: