Closed Bug 1544885 Opened 5 years ago Closed 5 years ago

Add a way for the embedding to find out if there is more work pending at the end of a GC slice

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: jonco, Assigned: jonco)

Details

Attachments

(1 file)

With the new scheme of running successive slices straight away in idle time we're seeing some very short slices when the GC is just polling waiting for e.g. background sweeping and returning straight away.

What we need is a way for the embedding to find out whether running another slice right now would be worthwhile.

This new scheme was introduced in bug 1543961.

Assignee: nobody → jcoppeard

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

Type: defect → task
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4b8b660c9ba0
Don't immediately run another GC slice in idle time if there's no work to do on the main thread r=smaug r=pbone
Status: NEW → RESOLVED
Closed: 5 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: