Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Pointer stores & DOD

7 views
Skip to first unread message

Dan Sugalski

unread,
Apr 29, 2004, 9:53:15 AM4/29/04
to perl6-i...@perl.org
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
d...@sidhe.org have teddy bears and even
teddy bears get drunk

0 new messages