Hi guys,
Flushing the selector is enough.
Eliot fixed this problem some time ago. Look at the discussion http://forum.world.st/Re-Pharo-project-Troubles-with-flushCache-and-run-with-in-td3659114.html
@Alex I have a test case that I built for Eliot. If you send me your image and VM I can try out to see if there is a similar problem.
Cheers,
Flushing the behavior is way too much, since if I understand correctly, it will flush the whole method cache (including PICs etc ).
In my experience, with the latest version, just flushing the selector is enough. It is not in your case?
Cheers--On Fri, Nov 4, 2011 at 3:18 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
> What is still not clear to me is what you need to flush when replacing a method with an object. The selector, the old method, the new method, or the behavior? Last time I tried I got the best results flushing the behavior, but I would like to know what should be used for real.+1
I also flush the behavior.
Alexandre
>
> On Friday, 4 November 2011, Alexandre Bergel <alexandre.bergel@me.com> wrote:
> > Ok
> > Thanks, we will try
> >
> > Alexandre
> >
> >
> > On 4 Nov 2011, at 11:01, Mariano Martinez Peck wrote:
> >
> >>
> >>
> >> On Fri, Nov 4, 2011 at 2:14 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
> >> Hi!
> >>
> >> My students are experiencing frequent crashes of the CogVM when playing with Spy (a profiling framework that instrument compile methods and replace them during the execution). My students use a MooseOneClick bundle. I am not sure which version of the CogVM they use actually. Is there a way to check this?
> >>
> >> Anyone has experienced frequent crashes with Ubuntu?
> >>
> >> There were some issues with #cannotInterpret: and #run:with:in �with previous versions of Cog. However, with the last version Eliot' Cog all of them are fixed
> >>
> >>
> >> Cheers,
> >> Alexandre
> >> --
> >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >> Alexandre Bergel �http://www.bergel.eu
> >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> --
> >> Mariano
> >> http://marianopeck.wordpress.com
> >>
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel �http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
> >
> >
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel �http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Mariano
http://marianopeck.wordpress.com