Closed Bug 1119759 Opened 6 years ago Closed 6 years ago

Add startgc() testing function

Categories

(Core :: JavaScript: GC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla38

People

(Reporter: jonco, Assigned: jonco)

References

Details

Attachments

(1 file)

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: 6 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.