Closed Bug 778966 Opened 12 years ago Closed 1 month ago

Use a callback to decide when to end an incremental GC slice

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: billm, Unassigned)

Details

(Whiteboard: [Snappy][js:t])

Right now GC slices run for a fixed period of time, usually 10ms (although the time changes if we're in "high frequency mode"). This is kind of arbitrary. In some cases, we want to be able to end a slice in certain circumstances, such as an event arriving or the vertical retrace finishing. The JS engine could provide a callback that would be called occasionally to decide whether the GC slice should end. The browser could implement it to check for these outside events.
Whiteboard: [Snappy]
Whiteboard: [Snappy] → [Snappy][js:t]
Assignee: wmccloskey → nobody
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.