Re:Ruby 2.1 Garbage Collection: ready for production
by vidarh on Wednesday April 09, 2014 @04:14AM
(#7558223)
Catching the vtable updates and propagating them downwards is pretty simple, you "just" need every class to know which classes inherits from them. There's an implementation for dynamic runtime updates of dispatch tables for Oberon, of all languages (though that version sidesteps the "sparse vtables" issue by splitting the vtables into interfaces, and adding one extra level of indirection).
The tricky bit is if you have gone as far as inlining the method.
The tricky bit is if you have gone as far as inlining the method.