Avoid unnecessary deletes in DOMRequestHelper.jsm

RESOLVED FIXED in mozilla33

Status

()

defect
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: njn, Assigned: njn)

Tracking

unspecified
mozilla33
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [MemShrink])

Attachments

(1 attachment)

This patch will avoid some unnecessary shape creation.
They're unnecessary because the entire object is later nulled out.

This in turn avoids creating 3,108 shapes when starting up B2G, which is about
73 KiB's worth.
Attachment #8457708 - Flags: review?(fabrice)
Attachment #8457708 - Flags: review?(fabrice) → review+
https://hg.mozilla.org/mozilla-central/rev/8e7a378c70c5
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.