[squeak-dev] Re: [Vm-dev] hampering the desire of the VM and image to visit every object at startup time (multiple times)

David Farber dfarber at numenor.com
Tue Apr 14 21:10:58 UTC 2009

On Apr 14, 2009, at 11:31 AM, Eliot Miranda wrote:
> On Tue, Apr 14, 2009 at 10:04 AM, John M McIntosh  
> <johnmci at smalltalkconsulting.com> wrote:
> Now the problem with headerSize
> In the file mmap case the entire file is mapped into memory at  
> 500MB, but the oops space starts at 64 bytes, so memory is at 500MB+64
> In the anonymous mmap case memory starts at 500MB, but the oops  
> space starts at 0, so memory is at 500MB.
> John, I think this is a non-issue.  There is no reason to worry  
> about the unused 64 bytes at the beginning of the image file.   
> Simply map it at 500Mb and have the heap start at 500Mb + 64.  So  
> the header is mapped into memory.  This should make snapshot a  
> little easier because one simply updates the header in place in  
> memory.

Actually, if the header was mapped into memory *and* kept up to date,  
it would make recovering images from core dumps trivial.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090414/83c5a26d/attachment.htm

More information about the Squeak-dev mailing list