Closed Bug 664137 Opened 14 years ago Closed 14 years ago

GCRoot: derive object's beginning via FixedMalloc::FindBeginning(this).

Categories

(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Q3 11 - Serrano

People

(Reporter: pnkfelix, Assigned: pnkfelix)

References

Details

(Whiteboard: WE:2873296, has-patch,fixed-in-serrano)

Attachments

(1 file)

Bug 663159 points out a serious issue with multiple-inheritance of GCRoot (or subclasses of GCRoot). In Bug 663159, comment 1, Steven suggested the approach of adding FixedMalloc::FindBeginning and then utilizing it to derive the object's true beginning (which may fall before 'this'). Felix had argued that this was too risky and explored other options (Bug 663177, Bug 663491) but Tommy countered in Bug 663491, comment 7 (a response to Bug 663491, comment 5) that Steven's suggestion was our best option.
Target Milestone: --- → Q3 11 - Serrano
Whiteboard: WE:2873296
Depends on: 663508
Assignee: nobody → fklockii
Status: NEW → ASSIGNED
Attachment #539548 - Flags: superreview?(lhansen)
Attachment #539548 - Flags: review?(treilly)
Priority: -- → P3
Whiteboard: WE:2873296 → WE:2873296, has-patch
Attachment #539548 - Flags: review?(treilly) → review+
(In reply to comment #1) > Created attachment 539548 [details] [diff] [review] [review] > GCRoot: proper derivation of beginning Pushed to Serrano. tamarin-redux-serrano changeset: 6322:7fc6e10cdc24 user: Felix S Klock II <fklockii@adobe.com> summary: Bug 664137: GCRoot: proper derivation of object beginning via FixedMalloc::FindBeginning (r=treilly, sr pending lhansen). http://asteam.corp.adobe.com/hg/tamarin-redux-serrano/rev/7fc6e10cdc24
Comment on attachment 539548 [details] [diff] [review] GCRoot: proper derivation of beginning GCAssertMsg might be more desirable, in order for the asserts to provide more diagnostic value right off the bat.
Attachment #539548 - Flags: superreview?(lhansen) → superreview+
Flags: flashplayer-qrb+
Flags: flashplayer-injection-
Whiteboard: WE:2873296, has-patch → WE:2873296, has-patch,fixed-in-serrano
changeset: 6540:0bdd7ace90ff user: Felix S Klock II <fklockii@adobe.com> summary: Bug 663508: FixedMalloc::FindBeginning code; it is slow (r=treilly, sr=lhansen). http://hg.mozilla.org/tamarin-redux/rev/0bdd7ace90ff
changeset: 6544:e0ed1665d4f8 user: Felix S Klock II <fklockii@adobe.com> summary: Bug 664137: derive GCRoot's true beginning via FixedMalloc (r=treilly, sr=lhansen). http://hg.mozilla.org/tamarin-redux/rev/e0ed1665d4f8
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
changeset: 6550:0632cf3ccf4e user: Felix S Klock II <fklockii@adobe.com> summary: Bug 664137: use GCAssertMsg to provide better/faster diagnostic value (r=fklockii). http://hg.mozilla.org/tamarin-redux/rev/0632cf3ccf4e
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: