Dynamically changing the shape of a class
Alexandre Bergel
bergel at iam.unibe.ch
Thu Jun 17 09:21:17 UTC 2004
Hi!
Adding new instance variable is done by calling a become: like
oldclassWithoutTheNewIV become: newclassWithTheNewIV
Therefore this operation requires some primitive in the VM. Is it necessary? If this mechanism is not implemented in Java is it only because the VM does not have a become: ?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
More information about the Squeak-dev
mailing list
|