[squeak-dev] 64Bit image on Squeak Cocoa 5.7.4 VM
Tobias Pape
Das.Linux at gmx.de
Wed Apr 13 21:52:47 UTC 2011
Am 2011-04-13 um 22:58 schrieb David T. Lewis:
> On Wed, Apr 13, 2011 at 10:35:30PM +0200, Tobias Pape wrote:
>> Hi
>>
>
> The terminology for this is a bit confusing, but hopefully is
> clarified a little bit here:
>
> http://squeakvm.org/squeak64/faq.html
>
> The 64bit VM in the 32bit/64bit bundle refers to a VM that is
> compiled in 64 bit mode such that all the C pointers are 64 bits,
> as opposed to a 32 bit VM for which pointer size is the same
> as an int (i.e. 32 bits). Both of these VMs are intended to
> interpret a normal 32 bit object memory.
>
Ok, so it was a misunderstanding of the
> ‘Squeak VM Host 64/32bits’
tag line.
> The image that you traced will now be a 64 bit image, which
> means that all of the "slots" in the object memory are 64 bits
> in size, as opposed to the normal 32 bit words and OOPs used
> in a 32 bit image. What you are looking for now is a VM that
> understands that object memory format. (As a side note, it
> is entirely possible to compile that VM in 32 bit mode and
> still have it interpret the 64 bit image, although I would
> expect that anyone working with a 64 bit image is going to
> prefer the 64 bit VM for its effectively unlimited address
> space.)
That is, the word size in an Image can differ from the VM
pointer size?
>
> Are you interested in compiling your own VM from unix sources?
> If so it is merely a matter of setting one C preprocessor
> variable (SQ_VI_BYTES_PER_WORD=8) to produce the VM you need.
Yes, I know :)
But thanks for the reminder.
So Long,
-Tobias
More information about the Squeak-dev
mailing list
|