Am 18.09.2008 um 11:54 schrieb Paolo Bonzini:
> Bert Freudenberg wrote:
>>
>> Am 18.09.2008 um 10:08 schrieb Paolo Bonzini:
>>
>>>
>>>> As long as the garbage collector does not change the order of
>>>> objects,
>>>> the vast majority of oops in a saved image will not change even
>>>> in a
>>>> direct-pointer model with a fixed base address.
>>>
>>> Unfortunately, that should be true for casual usage but not for
>>> development. The subclasses instance variable of Behavior is an
>>> Array... I guess I don't need to explain further...
>>
>>
>> Sure - I'm thinking of app deployment with a read-only image.
>
> Ah, okay, I was thinking of app development since we're talking about
> VCS here.
But even with the subclasses instance variable of Behavior - that
Array is newly allocated when you change something, so I'd expect it
to be and remain near the end of the memory. The layout in the lower
parts of the object memory would only change if an object is garbage
collected there. Which should rarely happen even during development.
- Bert -