Closed
Bug 491068
Opened 16 years ago
Closed 16 years ago
Need a nestable version of MMGC_GCENTER for auto heap-stack handling
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), defect)
Tamarin Graveyard
Garbage Collection (mmGC)
Tracking
(Not tracked)
VERIFIED
FIXED
flash10.1
People
(Reporter: treilly, Assigned: treilly)
References
Details
Attachments
(1 file)
7.39 KB,
patch
|
lhansen
:
review+
|
Details | Diff | Splinter Review |
Some player configs switch to a heap area for stack usage and we need to inform the GC that there are essentially two stacks too track in this case. Currently nested MMGC_GCENTER macros are ignored, which is the desired behavior, so this will be a new macro, MMGC_GCENTER_NESTED or something like that. It will be a C++ auto object run after the auto heap-stack switching has happened and it will establish the old now fixed stack as a temporary GCRoot. The destructor will delete the temporary GCRoot and re-establish the original MMGC_GCENTER.
Assignee | ||
Comment 1•16 years ago
|
||
Attachment #378868 -
Flags: review?(lhansen)
Assignee | ||
Comment 2•16 years ago
|
||
This feature feature request and the Flash debugger are the same, hence the new name MMGC_GC_ROOT_THREAD.
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Updated•16 years ago
|
Attachment #378868 -
Flags: review?(lhansen) → review+
Comment 3•16 years ago
|
||
Comment on attachment 378868 [details] [diff] [review]
implements desired functionality plus one stubbed API for FRR
The QueueFullCollection API does not seem to belong with this patch and I'd be more comfortable if you removed it. If you do need to land it now (eg to enable somebody else to get work done) then it should be fixed so that it interacts with the policy manager; the state variable should be kept there, not in class GC. (It seems to me that just providing an empty QueueFullCollection method would be OK for now.)
Assignee | ||
Comment 4•16 years ago
|
||
Agreed, will fix in upcoming patch, apparently Steven's at a good spot now so no more empty API patches
Assignee | ||
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•16 years ago
|
||
changeset: 1920:b24ecd4559de
user: Tommy Reilly <treilly@adobe.com>
date: Thu May 21 11:02:00 2009 -0400
summary: Add API's for FRR purposes. MMGC_GC_ROOT_THREAD and QueueCollection
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•