Dan Sugalski <[EMAIL PROTECTED]> wrote: > At 4:51 PM +0100 3/4/04, Leopold Toetsch wrote: >> >>Rather not. But if we have to allocate a separate vtable, we should >>set a flag in the vtable->flags, mark the PMC as special, so that >>destroy can free the vtable.
> That works for one-off vtables, but doesn't work in the case of > shared vtables. Those may happen if we allow unloading of classes, > but I think I've a way around that one. I think. The we'll make the flag bigger and call it refcount :) Shared (COWed) resources *have* a refcount during DOD anyway. > Dan leo