Closed Bug 770121 Opened 13 years ago Closed 13 years ago

GC: Make GC more deterministic when JS_MORE_DETERMINISTIC is defined

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: jonco, Assigned: jonco)

Details

(Whiteboard: [js:t])

Attachments

(1 file)

To help ensure that tests runs always produce the same output, we can remove timing related behaviour from the GC when JS_MORE_DETERMINISTIC is defined. There are three ways GC is affected by time: - ReleaseObservedTypes called in the sweep phase triggers every 60 seconds - MaybeGC triggers a full GC every 20 seconds (not called from the shell) - incremental GC budgets where explicitly requested The proposal is to make the first two only conditional on this macro being not defined.
Assignee: general → jcoppeard
Attachment #638308 - Flags: review?(wmccloskey)
Attachment #638308 - Flags: review?(wmccloskey) → review+
Whiteboard: [js:t]
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: