Deprecations for 3.0

Nick Wellnhofer wellnhofer at aevum.de
Sat Sep 18 13:20:39 UTC 2010


On 18/09/10 06:06, Luben Karavelov wrote:
> The idea is that we could dynamically swap vtables of objects that
> should be
> barriered. The new vtable will contain functions that execute
> barrier-ing
> logic (card marking, scavenging etc.) and re-dispatch to the original
> vtable
> function.

That simply doesn't work. It's not enough to run a bit of code before 
every vtable function. We have to check every PMC assignment in every 
vtable function and all the functions it calls. There's no way around 
that. Note that it's completely different in a purely functional 
language without assignment like Haskell.

Nick


More information about the parrot-dev mailing list