Add startgc() testing function

RESOLVED FIXED in mozilla38

Status

()

defect
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: jonco, Assigned: jonco)

Tracking

unspecified
mozilla38
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

In line with the API changes to add a startGC() method for starting an incremental GC, we should have a testing function to allow us to do this from JS.

This will then let us exercise incremental shrinking GCs in testing.
This also fixes gcstate() which didn't know about the COMPACT state.
Attachment #8546550 - Flags: review?(terrence)
Attachment #8546550 - Flags: review?(terrence) → review+
And fix test code because gcstate() isn't always available:

https://hg.mozilla.org/integration/mozilla-inbound/rev/a769d64aa432
https://hg.mozilla.org/mozilla-central/rev/2c46028281dd
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Depends on: 1137610
You need to log in before you can comment on or make changes to this bug.