2009/12/23 Igor Stasenko <[email protected]>: > 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: > Clarification: do not run conversion untill you fix every place which using old format. Load some code from MC, play with traits etc.. and see if it will halt in this method. If not, then you are ready for conversion.
> 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. > -- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
