Closed
Bug 519565
Opened 15 years ago
Closed 15 years ago
WriteBarrierRC::Clear() is wrong
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P2)
Tamarin Graveyard
Garbage Collection (mmGC)
Tracking
(Not tracked)
VERIFIED
FIXED
flash10.1
People
(Reporter: stejohns, Assigned: lhansen)
Details
code is REALLY_INLINE void Clear() { t = 0; } but needs to DecrementRef on existing value, if any.
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → lhansen
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → flash10.1
Assignee | ||
Comment 1•15 years ago
|
||
Actually what it needs is documentation; the method is correct. It is used not at all in the VM and one place in the Flash Player, and there is a comment at that site of use to the effect that the referenced object has already been deleted and that it's important to clear out the smart pointer without touching the now-dead object. So Clear() does the right thing. I will add a comment to that effect and just push it.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 2•15 years ago
|
||
Pushed to redux?
Assignee | ||
Comment 3•15 years ago
|
||
(In reply to comment #2) > Pushed to redux? Yes, just checked the code.
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•