Closed Bug 1544866 Opened 6 years ago Closed 6 years ago

Make InterSliceGCRunnerFired to return false in case the full budget wasn't used.

Categories

(Core :: DOM: Core & HTML, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: smaug, Assigned: smaug)

Details

Attachments

(1 file)

IdleTaskRunner keeps dispatching to idle queue if callback tells work has been done. But close to the end of GC we do the last foreground sweep slice and then
basically poll background tasks to finish. We don't want those polling to be marked as "work done", since we just keep dispatching IdleTaskRunner to idle queue in a loop.

Patch coming.

Component: DOM: Animation → DOM: Core & HTML
Attachment #9058684 - Attachment is obsolete: true

Sounds like we need some new API to GC after all.

Assignee: bugs → nobody
Attachment #9058684 - Attachment is obsolete: false
Assignee: nobody → bugs
Attachment #9058684 - Attachment description: Bug 1544866 - Make InterSliceGCRunnerFired to return false in case the full budget wasn't used. r=jonco → Bug 1544866 - Make InterSliceGCRunnerFired to return false in case the full budget wasn't used. r=sfink
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b674f733df77 Make InterSliceGCRunnerFired to return false in case the full budget wasn't used. r=sfink

The bot thinks this bug is a task, but please change it back in case of error.

Type: defect → task

No idea what is the difference between defect, task and enhancement :)
This feels perhaps most enhancement.

Type: task → enhancement
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: