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)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: jonco, Assigned: jonco)
Details
(Whiteboard: [js:t])
Attachments
(1 file)
|
3.06 KB,
patch
|
billm
:
review+
|
Details | Diff | Splinter Review |
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 | ||
Updated•13 years ago
|
Assignee: general → jcoppeard
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #638308 -
Flags: review?(wmccloskey)
Attachment #638308 -
Flags: review?(wmccloskey) → review+
Updated•13 years ago
|
Whiteboard: [js:t]
| Assignee | ||
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
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.
Description
•