It's a nice system - we should take lessons from it where we can.  In this 
case, they *clearly* have it right.  




________________________________________
From: [email protected] 
[[email protected]] on behalf of Chris Muller 
[[email protected]]
Sent: Thursday, May 10, 2012 8:56 PM
To: [email protected]
Subject: Re: [Pharo-project] Short rant on platforms and sessions

> Dolphin shows us the correct path: session awareness.  The image "wakes up"
> and decides where it is running - the vm can certainly help in Pharo's
> case.  External resources are *not* cleared on image save - the image might
> keep running, so why release and reallocate?  Finalization is best-effort.
> External resources are cleared just before exiting, but *after* any
> associated image save.  When the image wakes, one of its first duties is to
> clear (not release via calls) any external resources, because they are known
> to be garbage at this point.
>
> It works, and works well.

I don't have experience with Dolphin, but that does sound like a
clever solution to avoiding the release/reallocate burden on image
save (and not exiting)..


Reply via email to