WebGLElementArrayCache about:memory passes array.Elements() to MallocSizeOf

RESOLVED FIXED in mozilla20

Status

()

RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: bjacob, Assigned: bjacob)

Tracking

unspecified
mozilla20
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 683541 [details] [diff] [review]
patch

And that is a bug because array.Elements() returns a pointer at a nonzero offset into the actual heap block, due to how nsTArray is implemented.
Attachment #683541 - Flags: review?(jgilbert)
Attachment #683541 - Flags: review?(jgilbert) → review+
(Assignee)

Comment 1

6 years ago
http://hg.mozilla.org/integration/mozilla-inbound/rev/7bff4da04a1c
Assignee: nobody → bjacob
Target Milestone: --- → mozilla20
https://hg.mozilla.org/mozilla-central/rev/7bff4da04a1c
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.