[Vm-dev] A stab at explaining Spur
Ken.Dickey
Ken.Dickey at whidbey.com
Thu Aug 13 23:56:13 UTC 2015
Greetings,
I would think that another option is to replace all the methods in the old class with "updater" methods and flush the method cache(s). [old selectors, fixup method(s)].
The new version of the class has a new class index.
At any send to an old instance, the updater has access to the calling context and can do the forward to the new intance and re-send the method.
Usual GC cleanup does the rest.
Why did you choose to avoid this strategy? (or am I just misunderstanding?)
Thanks much,
-KenD
More information about the Vm-dev
mailing list