Closed Bug 915497 Opened 11 years ago Closed 11 years ago

Disable oomAfterAllocations while doing minor collections

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 914614

People

(Reporter: terrence, Unassigned)

References

(Blocks 1 open bug)

Details

Minor GC does not handle OOM gracefully. This is fine because OOM is rare and the failure path is just a MOZ_CRASH. This does, however, make any OOM tests that use oomAfterAllocations interact poorly with GGC. It should be fine to just ignore oomAfterAllocations when doing a minor GC, since that is not the failure path that oomAfterAllocations wants to test.
We needed this mechanism in bug 914614, so I added it there, with a testcase.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.