Closed Bug 1561506 Opened 5 years ago Closed 5 years ago

make GCParallelTask::startOrRunIfIdle safe when threads are disabled

Categories

(Core :: JavaScript: GC, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: pbone, Assigned: pbone)

Details

Attachments

(1 file)

GCParallelTask::startOrRunIfIdle asserts if it tries to start a thread but multi-threading is diabled. I have a patch that makes startOrRunIfIdle run the task on the main thread when threading is diabled. This simplifies its callsites.

Assignee: nobody → pbone
Status: NEW → ASSIGNED
Priority: -- → P3
Pushed by pbone@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/11adb29b0bdc
Make startOrRunIfIdle safe when threads are disabled r=jonco
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: