We've talked about specialized code to store pointers for the DOD in the past, and I think that now it's time to start doing that.

What we want to do, basically, is make sure that all stores of pointers to DOD-able structures *into* DOD-able places are done with a mediating function. (Or macro, to start) This means no direct setting of PMC_data, or stuffing of pointers direclty into buffers--rather they need to be done with set_PMC_data(pmcptr, destptr) and suchlike things.

If we do this it means we can then play with other GC techniques by altering what the set function/macros do--this'll let us wedge in generational collectors or (if someone *really* must...) reference counting.
--
Dan


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to