help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Read-only oldspace


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Read-only oldspace
Date: Wed, 25 May 2011 18:13:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 05/25/2011 11:31 AM, Gwenael Casaccio wrote:

Is it what you want for the image saving ?

https://github.com/MrGwen/GNU-Smalltalk/commit/0372cfe08977da6d1d5cb8cecf2d7796f5375593

Yes!  Just:

1) no cut-and-paste :)

2) if "use_copy_on_write" is true, you should mmap the read-only data to a separate memory region, so that you can make it read-only too. Perhaps you need to invoke mmap separately instead of doing it just once at the beginning of the loading.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]