[squeak-dev] Image normalization (was: SqueakSVN)

Bert Freudenberg bert at freudenbergs.de
Wed Sep 17 08:39:36 UTC 2008


Am 17.09.2008 um 07:47 schrieb Paolo Bonzini:

> Keith Hodges wrote:
>>  I tried normalizing object
>> pointers to a known base address as a starting point.
> Changing the base address might make loading slower.


Actually, it makes it faster. If you mmap the image to a base address  
that is likely to be available the next time around, then you avoid  
the oop relocation on startup which touches the whole object memory.  
Thus image startup becomes blindingly fast since the pages do not even  
have to be loaded from disk until used.

(You also have to disable the nonsensical check for finalization  
support, every VM made in the last 5 years supports it, and it's  
forcing a full GC on startup.)

- Bert -




More information about the Squeak-dev mailing list