Unix 3.7 gamma VM

Ned Konz ned at bike-nomad.com
Fri Mar 18 17:07:13 UTC 2005

On Friday 18 March 2005 1:48 am, Bert Freudenberg wrote:
> The image segment loading bug is a show-stopper - changeset attached.

But I'm not sure that's all the problems we're seeing. For one thing, the 

 oop < endOfMemory

when oop is < 2Gb and endOfMemory is >2Gb will fail. There are similar 
problems throughout the code.

I have some changes that make endOfMemory, youngSpaceStart, etc. into 
unsigned. I think they're more comprehensive, and still seem to work. You 
might want to take a look at them.

For instance, here's the memory load information on the image I'm running 
right now.

With the default arguments, it spans the 2Gb memory boundary, and works OK:

PID 16361:   /home/ned/Squeak/cairo/bld-i386/squeak 
-plugins /home/ned/Squeak/cairo/bld-i386/%n/.libs/%n -vm-display-X11 -swapbtn 
-vm-sound-null squeak.image
77656000-b7656000  1048576       -       -       - rw---    [ anon ]

With an explicit '-mmap 100M', all the segments are above 2Gb. Still works OK:

PID 16428:   /home/ned/Squeak/cairo/bld-i386/squeak 
-plugins /home/ned/Squeak/cairo/bld-i386/%n/.libs/%n -vm-display-X11 -swapbtn 
-vm-sound-null -mmap 100M squeak.image
b0875000-b1253000    10104       -       -       - rw---    [ anon ]
b1256000-b7656000   102400       -       -       - rw---    [ anon ]

You can get my VMMaker changes from SVN using Monticello:

 location: 'http://squeak.hpl.hp.com/svn/squeak/branches/ned-branch/platforms'
 user: ''
 password: ''

Ned Konz

More information about the Vm-dev mailing list