Dynamically changing the shape of a class

Alexandre Bergel bergel at iam.unibe.ch
Thu Jun 17 09:21:17 UTC 2004


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: ?


Alexandre Bergel  http://www.iam.unibe.ch/~bergel

More information about the Squeak-dev mailing list