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
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to