2009/12/23 Stéphane Ducasse <[email protected]>:
> Igor
>
> I saw that method trailer were pushed into squeak.
> Do you plan to provide us a version for pharo?
> Or will we have to dig into squeak?
>

i made a changesets which should work ok on both forks.
Lying over there
http://bugs.squeak.org/view.php?id=7428

you can pick them up and see if they work for you..

Generally, after applying

CompiledMethodTrailer-classes.3.cs
trailers-utf8.1.cs
trailers-phase1.1.cs
trailers-phase2.1.cs
trailers-phase3.2.cs
pharo-phase4.1.cs

check if you still having senders

generate: #(0 0 0 0)

and change them to just

generate


then , when you ready to convert, load :
 trailers-converting.1.cs

and finally load:

 trailers-cleanup.1.cs

after that, you could get DNUs, only if some obscure code still using
a collection (usually #(0 0 0 0)) as trailer, instead of
CompiledMethodTrailer instance.

Alternatively, if you don't want to get an image into unusable state,
before running a conversion, put halt in ArrayedCollection>>createMethod:header:

to trap all of the places which still need to be fixed for using a new trailers.

> Stef
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



-- 
Best regards,
Igor Stasenko AKA sig.

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to