Closed
Bug 664140
Opened 13 years ago
Closed 13 years ago
Split GCHeap::AddrToBlock into BaseAddr and InteriorAddr variants
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P3)
Tamarin Graveyard
Garbage Collection (mmGC)
Tracking
(Not tracked)
RESOLVED
FIXED
Q3 11 - Serrano
People
(Reporter: pnkfelix, Assigned: pnkfelix)
References
Details
(Whiteboard: has-patch)
Attachments
(1 file)
10.18 KB,
patch
|
treilly
:
review+
lhansen
:
superreview+
|
Details | Diff | Splinter Review |
GCHeap::AddrToBlock currently doesn't work on addresses beyond the first block in the object. Tommy says most of its callers are passing in the base address for the object.
So lets tighten up its contract (by making its assertion check that the given address matches the base address) and add a new variant for the callers that are using the non-base address; that new variant should be generalized as described in Bug 663508, comment 1.
Assignee | ||
Comment 1•13 years ago
|
||
Tommy: obviously if you land Bug 664133 then I'll remove the GC.cpp portion of this patch.
If requested, I'll look into adding a selftest, but my current plan is just to rely on the selftest already planned for Bug 663508 (see attachment 538905 [details] [diff] [review] ) to exercise this functionality, rather than worry about making an individual unit-test for these two functions.
Assignee: nobody → fklockii
Status: NEW → ASSIGNED
Attachment #539225 -
Flags: superreview?(lhansen)
Attachment #539225 -
Flags: review?(treilly)
Updated•13 years ago
|
Attachment #539225 -
Flags: review?(treilly) → review+
Assignee | ||
Updated•13 years ago
|
Target Milestone: --- → Q3 11 - Serrano
Flags: flashplayer-qrb+
Flags: flashplayer-injection-
Flags: flashplayer-bug-
Priority: -- → P3
Assignee | ||
Updated•13 years ago
|
Whiteboard: has-patch
Assignee | ||
Comment 2•13 years ago
|
||
Pushed to Serrano.
tamarin-redux-serrano
changeset: 6320:6995cfb192ae
user: Felix S Klock II <fklockii@adobe.com>
summary: Bug 664140: split GCHeap::AddrToBlock into BaseAddr and InteriorAddr variants. (r=treilly, sr pending lhansen).
http://asteam.corp.adobe.com/hg/tamarin-redux-serrano/rev/6995cfb192ae
Updated•13 years ago
|
Attachment #539225 -
Flags: superreview?(lhansen) → superreview+
Comment 3•13 years ago
|
||
changeset: 6407:1735c8e8ba1c
user: Felix S Klock II <fklockii@adobe.com>
summary: Bug 664140: split GCHeap::AddrToBlock into input-specific variants (r=treilly, sr=lhansen).
http://hg.mozilla.org/tamarin-redux/rev/1735c8e8ba1c
Assignee | ||
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•