[Pharo-project] Problem with CompiledMethodTrailer
Mariano Martinez Peck
marianopeck at gmail.com
Tue May 10 20:20:39 CEST 2011
On Tue, May 10, 2011 at 1:44 PM, Igor Stasenko <siguctua at gmail.com> wrote:
> The fix in
> now one thing left:
> we need to get rid of hanging methods with corrupted trailers.
> And we do it like this:
> (CompiledMethod allInstances select: [:m |
> m isInstalled not and: [ m trailer kind = #VarLengthSourcePointer ]]
> ) do: [:each |
> each at: each size put: 0 ]
> This will replace a corrupted trailer with empty one.
Excellent!!! that worked :) Thanks Igor.
Now...it is supposed that when this issue fix is integrated the new
generated image should now have these weird CMs so that script should not be
I will test it when such image is build by hudson :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-project