[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Multiple Worlds in GNU Smalltalk
From: |
Gwenael Casaccio |
Subject: |
[Help-smalltalk] Multiple Worlds in GNU Smalltalk |
Date: |
Thu, 09 Jun 2011 11:05:37 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Lightning/1.0b2 Thunderbird/3.1.10 |
Hello,
I've made an initial support for multiple worlds in GNU Smalltalk,
each world has its own memory heap; I can bootstrap multiple kernel
using the GNU Smalltalk bootstrapping process each kernel has
its memory heap and I use a share nothing approach between the other
worlds. I can load multiple images in other memory area too.
What has changed in the VM? This is mostly a big refactoring of the
_gst_mem structure and globals used by the compiler, symbols, oop
registrations, and context management.
I've added two primitives - mostly for testing purpose -for loading
images and generating new worlds in ObjectMemory (yes it's not good). It
loads an image print hello world and crash and the same happens for the
generated kernel.
I think that's the right way but I want your opinion on the changes.
I plan to fix the multiple worlds support by :
- fix the world swapping crash :)
- see the impact on the vm (semaphore/events/...)
- introducing a model for the worlds
- the scheduling could be time shared for the worlds (Paolo what do
you think)?
- Multi core support I think that could be the next step may be a M:N
model M images for N VM thread
The code is there :
address@hidden:MrGwen/GNU-Smalltalk.git this is the process branch
Cheers,
Gwen
- [Help-smalltalk] Multiple Worlds in GNU Smalltalk,
Gwenael Casaccio <=
- Re: [Help-smalltalk] Multiple Worlds in GNU Smalltalk, Paolo Bonzini, 2011/06/09
- Re: [Help-smalltalk] Multiple Worlds in GNU Smalltalk, Gwenael Casaccio, 2011/06/10
- Re: [Help-smalltalk] Multiple Worlds in GNU Smalltalk, Gwenaƫl Casaccio, 2011/06/13
- Re: [Help-smalltalk] Multiple Worlds in GNU Smalltalk, Gwenael Casaccio, 2011/06/15
- Re: [Help-smalltalk] Multiple Worlds in GNU Smalltalk, Gwenael Casaccio, 2011/06/15
- Re: [Help-smalltalk] Multiple Worlds in GNU Smalltalk, Paolo Bonzini, 2011/06/19
- Re: [Help-smalltalk] Multiple Worlds in GNU Smalltalk, Gwenael Casaccio, 2011/06/20
- Re: [Help-smalltalk] Multiple Worlds in GNU Smalltalk, Gwenael Casaccio, 2011/06/20