[squeak-dev] Re: shared object between main.exe and Squeak.dll

Igor Stasenko siguctua at gmail.com
Wed Apr 28 06:51:20 UTC 2010

You can use
addGCRoot() function
so, you don't need to bother that your object is moved around and your
pointer to it is invalidated
because object has moved to a different location.

It doesn't 'pins' the object in memory, but tell VM that an object
pointer, stored at given memory location
should be kept healthy.
Also, it makes sure that your object will not be GCed , even if there
is no other objects referencing it.

On 28 April 2010 08:30, Ang BeePeng <beepeng86 at yahoo.com> wrote:
> Hi,
> Can anyone help me with this? It is really important for me. I'm trying to
> achieve something but clearly I haven't have enough knowledge about it.
> Thank you very much in advance.
> Ang Beepeng
> --
> View this message in context: http://forum.world.st/shared-object-between-main-exe-and-Squeak-dll-tp2023185p2068634.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.

Best regards,
Igor Stasenko AKA sig.

More information about the Squeak-dev mailing list