On 8 October 2010 19:54, Alexander LazareviÄ <laza@blobworks.com> wrote:
Igor,
maybe this just passed me by, but is this supposed to work only with some finalization support in the vm? So is PharoCore1.2 only usable with a very recent vm? Which VMMaker version is needed or what does your squeak -version say? In that case I did not say a word! ;)
nope, it should work w/o problems with older vms. It runs w/o problems in windoze with following vms: Smalltalk vmVersion 'Squeak3.10.2 of 11 February 2010 [latest update: #9314]' WeakFinalizationList hasNewFinalization false Smalltalk vmVersion 'Squeak4.1 of 17 April 2010 [latest update: #9957]' WeakFinalizationList hasNewFinalization true
Alex
2010/10/8 Igor Stasenko <siguctua@gmail.com>:
2010/10/8 Pavel Krivanek <pavel.krivanek@gmail.com>:
On Fri, Oct 8, 2010 at 12:43 PM, Marcus Denker <marcus.denker@inria.fr> wrote:
On Oct 8, 2010, at 12:39 PM, Pavel Krivanek wrote:
Hi Marcus,
is that really all what happened between 12172 and 12186?
update12186 Issue 3071: Â fixing timestamp tests Issue 3068: Â Non portable SmalltalkImage>>platformName deprecationWarning Issue 3063: Â removing explain Issue 3039: Â There should not be any configuration on Core
It doesn't explain the problems with VM versions and in 12186 I cannot build the PharoKernel (it hangs without error in unload phase)
No, we loaded:
Issue 3002: Â Â A new finalization code ready for integration in Pharo http://code.google.com/p/pharo/issues/detail?id=3002
ok, can you reproduce this on your VM? - take prebuilt 12186 - run the image with a file as argument that contains: Â SmalltalkImage current snapshot: true andQuit: true. -Â run the image with a file as argument that contains: 5 timesRepeat: [Smalltalk garbageCollect]. SmalltalkImage current snapshot: false andQuit: true.
The problem is in MCMethodDefinition>>shutdown.
Saving works, if i change it to:
shutDown " Â Â Â WeakArray removeWeakDependent: Definitions." Â Â Â Â Definitions := nil.
Not sure what happens there..
Also, it runs without fix, if i do:
WeakArray restartFinalizationProcess. 5 timesRepeat: [Smalltalk garbageCollect]. SmalltalkImage current snapshot: false andQuit: true.
-- Pavel
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.