Closed
Bug 1149245
Opened 10 years ago
Closed 9 years ago
DeserializedEdgeRange should re-use its referents edge vector (not copy it)
Categories
(DevTools :: Memory, defect)
Tracking
(firefox45 fixed)
RESOLVED
FIXED
Firefox 45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: fitzgen, Assigned: fitzgen)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
patch
|
vporof
:
review+
|
Details | Diff | Splinter Review |
(In reply to Jim Blandy :jimb from bug 1024774 comment #165)
> ::: toolkit/devtools/server/DeserializedNode.cpp
> @@ +165,5 @@
> > + return false;
> > + }
> > +
> > + DeserializedNode &referent = node.getEdgeReferent(*edgep);
> > + edges.append(mozilla::Move(SimpleEdge(name, Node(&referent))));
>
> It's a pity we have to copy the edge vector like this. Could you file a
> follow-up bug to make this iterate over the DeserializedNode's underlying
> vector, and have 'settle' build a proper JS::ubi::Edge from the current
> element?
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → nfitzgerald
Assignee | ||
Updated•9 years ago
|
Has STR: --- → irrelevant
Assignee | ||
Updated•9 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8683285 -
Flags: review?(vporof)
Assignee | ||
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
Comment on attachment 8683285 [details] [diff] [review]
Make DeserializedEdgeRange re-use its referents edge vector
Review of attachment 8683285 [details] [diff] [review]:
-----------------------------------------------------------------
This looks solid, but I don't claim to know the existing heapsnapshot code that well. If you're having doubts about whether or not this fits into the grand scheme of things, please check with Jim too.
Attachment #8683285 -
Flags: review?(vporof) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Comment 5•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•