but do you save and quit the image. I added a fix to avoid iterate while changing the collection and we will see. On May 9, 2010, at 12:29 PM, Alain Plantec wrote:
Hi all,
i just replaced it with following:
(CompiledMethod allInstances reject: #isInstalled) do: [:e | e isInstalled ifFalse: [e destroySourcePointer]].
Yes clearly a conceptual bug. But with the solution alain proposed ie not destroying while iterating on methods does not work (yes it condenses well but accessing some methods is broken).
yes but Igor solution is a little bit different because 'e isInstalled' is tested twice, one for the reject: and the second in the do: block. But unfortunately, this solution seems to be broken to. It works one time, but while trying to condenseChanges again several time, my squeak process is killed without flushing any log. Alain
Lukas did a cool test that checks whether the we can parse the method.
and made it to the end.. took about 5 minutes to wait. (12k methods + become on every method is a little time consuming ;)
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project