Closed Bug 1578350 Opened 5 years ago Closed 5 years ago

Consider capping main thread stack size on non-Windows too

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In bug 1537609 we capped our main thread stack quota to 2 MB on Windows because larger stacks can make some broken websites terribly slow. However on Linux and Mac we still have the larger stack sizes which isn't great (those websites are still slow on these platforms, see bug 1562700 for example).

I have a patch to cap this on all platforms to a value controlled by a pref (2 MB, 6 MB for ASan builds).

Assignee: nobody → jdemooij
Status: NEW → ASSIGNED
Priority: -- → P1
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5ae1fd95752c
Cap stack quota to 2 MB on non-Windows platforms too. r=jorendorff,mccr8
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: