Closed Bug 784282 Opened 12 years ago Closed 12 years ago

GC: Assert that cross-compartment pointers are wrapped when marking

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: jonco, Assigned: jonco)

Details

Attachments

(1 file)

GC marking traverses pointers between reachable objects and is a convenient place to assert that there are no cross compartment pointers that are not wrapped.
Assignee: general → jcoppeard
Attached patch Proposed fixSplinter Review
Attachment #653786 - Flags: review?(wmccloskey)
Attachment #653786 - Flags: review?(wmccloskey) → review+
https://hg.mozilla.org/mozilla-central/rev/e8bf3b589c2d
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
> https://hg.mozilla.org/mozilla-central/rev/e8bf3b589c2d

Something weird happened to the indentation here...
(In reply to :Ms2ger from comment #4)
> > https://hg.mozilla.org/mozilla-central/rev/e8bf3b589c2d
> 
> Something weird happened to the indentation here...

Cheers, fixed:

https://hg.mozilla.org/integration/mozilla-inbound/rev/9e98e33cb80d
You need to log in before you can comment on or make changes to this bug.