[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] ObjectSpaces for GST and VM ideas
From: |
Nicolas Petton |
Subject: |
Re: [Help-smalltalk] ObjectSpaces for GST and VM ideas |
Date: |
Mon, 25 Jan 2010 11:17:27 +0100 |
Finally, I can read the code and play with it as it deserves!
That's super cool :)
Nico
Le lundi 25 janvier 2010 à 10:47 +0100, Gwenael Casaccio a écrit :
> Hi Paolo,
>
> I rewrite the implementation of the ObjectSpaces for GST, you can look
> on my GST fork inside the branch object-space. This clean up is really
> better :
> - I use macros instead of _object_space[_current_space].myField
> - no more inside the oop.h
> - new files :
> system-dict which contains the structure with all the class name
> object-space : object-space it self
>
> At this time I've not merged the security work on the branch and the
> multi image support ;) I'll try to do to soon as possible.
>
> ObjectSpaces are a kind of software process isolation in Smalltalk the
> interest is :
>
> This is really nice we can prevent big allocation :
> OrderedCollection new: 10.....0.
> We can disable some primitives useful :
> ObjectMemory quit :)
> Of course writing on external ObjectSpace can be impossible :
> Array := 1 :D.
> myExternalRef instVarAt: 1 put: ...
> An other nice property is :
> Array allInstances will only returns instances inside the
> ObjectSpace
>
> I've also an idea : thread each spaces with a vm thread and use a
> message queue when you send a message to an external ObjectSpaces.
>
> Also I've made a copy on write for strings with a VM support ( not
> finished patch ) and a largeOOP prototype with a BTree support : I
> should extend the GC to support BTree.
>
> For a 3.3 version of GST ;)
>
> Gwen
>
>
>
> _______________________________________________
> help-smalltalk mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-smalltalk
signature.asc
Description: Ceci est une partie de message numériquement signée