Open
Bug 1773683
Opened 2 years ago
Updated 9 months ago
DelazifyTask are interruptible, we should plug it into mozilla::Task::RequestInterrupt.
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: nbp, Unassigned)
References
(Blocks 1 open bug)
Details
Bug 1773682 changes the DelazifyTask to parse all selected function in a single schedule.
While this works fine, we should play nicely with the rest of Task Controller tasks, as the main thread can take over any forgotten functions.
The simplest solution, is to make the DelazifyTask interruptible, and honoring the mozilla::Task::RequestInterrupt
function in the case of DelazifyTask
.
Comment 1•9 months ago
|
||
Possible options are:
- (a) override in
RequestInterrupt
inHelperThreadTaskHandler
, and let it handleDelazifyTask
's case - (b) Use different
Task
subclass forDelazifyTask
and let it overrideRequestInterrupt
(a) is simpler if there can be any other interruptible tasks.
You need to log in
before you can comment on or make changes to this bug.
Description
•