Closed Bug 1184423 Opened 9 years ago Closed 9 years ago

Properly report OOM when initializing the RematerizedFrameTable fails

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: fitzgen, Assigned: fitzgen)

Details

Attachments

(2 files, 1 obsolete file)

js::HashMap doesn't report OOM when operations fail, so we have to do it
ourselves.
Assignee: nobody → nfitzgerald
Comment on attachment 8634554 [details] [diff] [review]
Properly report OOM when initializing the RematerizedFrameTable fails

Review of attachment 8634554 [details] [diff] [review]:
-----------------------------------------------------------------

Ah, good find. Thanks for patch!
Attachment #8634554 - Flags: review?(shu) → review+
There's actually another case here too. ni myself to just audit the whole RematerializedFrameTable oom handling so I don't forget about it.
Flags: needinfo?(nfitzgerald)
Flags: needinfo?(nfitzgerald)
Attachment #8636295 - Flags: review?(shu) → review+
https://hg.mozilla.org/mozilla-central/rev/26de9419c0f0
https://hg.mozilla.org/mozilla-central/rev/d756733ac4c4
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: