Closed Bug 623058 Opened 14 years ago Closed 13 years ago

Vector.<SomeClass> prevents SWF from unloading

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stejohns, Assigned: stejohns)

References

Details

from https://bugs.adobe.com/jira/browse/FP-5681, Watson #2747284: Steps to reproduce: 1. Compile VectorLeakMain and VectorLeakSub 2. Run VectorLeakMain 3. Click on Green Square to load VectorLeakSub 4. Click on Red Square to unload VectorLeakSub 5. Click on Magenta Square to force GC. Actual Results: Nothing Expected Results: [UnloadSWF] VectorLeakSub.swf Workaround (if any): None
The VectorClass keeps a reference to the type; this probably needs to be a weak reference to allow collection.
Assignee: nobody → stejohns
Domain::m_parameterizedTypes also keeps a reference (and is the more likely culprit)
FWIW, I haven't yet been able to repro the leaky behavior, even with the excellent sample files.
This has been fixed, need to update status
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.