Closed Bug 1626705 Opened 5 years ago Closed 5 years ago

Use mozalloc_handle_oom to handle OOM for DOMArena

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: sefeng211, Assigned: sefeng211)

Details

Attachments

(1 file)

Currently, use MOZ_CRASH to handle OOM which is not ideal because it doesn't record the size that caused the OOM. We can do this properly by using mozalloc_handle_oom.

Replace MOZ_CRASH with mozalloc_handle_oom for DOMArena OOM
because it captures the requested size.

Assignee: nobody → sefeng
Status: NEW → ASSIGNED
Pushed by sefeng@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8b3a4f094724 Use mozalloc_handle_oom to handle OOM for DOMArena r=smaug
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: