|
Hello all,
Currently I’m in the need of serializing some Spy instances and my problem is that some of the objects hold references to Classes and CompiledMethods. This gives me headaches because I would like to materialize Spy in another image which possibly does not define those classes and methods.
Is there a smart way to specify which instances variables serialize and which of them not?
Even better would be to specify that instead of serializing an instance variable #a that I know that holds a CompiledMethod, serialize the ring representation of the CompiledMethod.
Thanks,
Alejandro
|