Closed
Bug 1853881
Opened 2 years ago
Closed 2 years ago
Assert the margin for the stack quota is sufficient for the gap between 2 stack quota verifications
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
121 Branch
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(2 files)
Bug 1853480 restores the stack quota for off-thread compilation, with a margin subtracted from the TaskController's stack size, the reason is that the stack quota is not checked for each function call in parser/compiler, but only in some functions which the execution frequently reaches.
We should assert that the margin is sufficient for the gap between those 2 stack quota checks.
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D191905
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/d250b2f13783
Part 1: Add JS::ThreadStackQuotaForSize and use it everywhere. r=nbp
https://hg.mozilla.org/integration/autoland/rev/e9c3d57463a0
Part 2: Assert the stack margin is sufficient. r=nbp
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d250b2f13783
https://hg.mozilla.org/mozilla-central/rev/e9c3d57463a0
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox121:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•