Closed Bug 1730650 Opened 3 years ago Closed 3 years ago

Add some tests for compartment revived GCs

Categories

(Core :: JavaScript: GC, task, P3)

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

Details

Attachments

(1 file)

When the GC notices that a compartment that it thinks should be dead is still alive at the end of a collection, it triggers another non-incremental collection to make sure it's cleaned up. Currently there are no tests for this behaviour.

This adds some new accessors to performance.mozMemory.gc so we can observe the
internal state from tests.

Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/795e1b29b7c2
Add tests for compartment revived GCs r=sfink
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: