The default bug view has changed. See this FAQ.

Disable oomAfterAllocations while doing minor collections

RESOLVED DUPLICATE of bug 914614

Status

()

Core
JavaScript Engine
RESOLVED DUPLICATE of bug 914614
4 years ago
4 years ago

People

(Reporter: terrence, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
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.
(Reporter)

Comment 1

4 years ago
We needed this mechanism in bug 914614, so I added it there, with a testcase.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 914614
You need to log in before you can comment on or make changes to this bug.