[Pharo-project] Problem with CompiledMethodTrailer

Igor Stasenko siguctua at gmail.com
Thu May 12 19:29:46 EDT 2011


On 12 May 2011 20:15, Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:
> Igor
>
> could you open a ticket that we do not forget.
>

there is already one,where we discussing that
http://code.google.com/p/pharo/issues/detail?id=4200

> Stef
>
>> It seems like that with this change i  opened a can of worms.
>> There are some tricky logic somewhere ,which uninstalls methods from
>> classes and then adds them back.
>> So, i added #dropSourcePointer at uninstalling .. then compilation
>> becomes too slow (because embedding source code using #becomeForward:
>> ). Then i changed #dropSourcePointer to actually erase the trailer
>> without using #become ..
>> but then some methods lost their source.
>>
>>> Decompiled code for old methods which were moved as part of a truncation,
>>> where the new versions have the exact same, and correct source doesn't sound
>>> like the end of the world to me. The method itself did not actually change.
>>>
>>> Cheers,
>>> Henry
>>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>>
>
>
>



-- 
Best regards,
Igor Stasenko AKA sig.




More information about the Pharo-dev mailing list