[Gc] Allocating Executable Memory

Andrew Haley aph at redhat.com
Tue Jul 27 00:27:50 PDT 2010


On 07/26/2010 09:59 PM, Boehm, Hans wrote:
>> From: Ivan Maidanski

>> If I understand correctly, we just need to duplicate all relevant mmap
>> and munmap calls (RW + E), right?
>> If yes, we also need some config option to enable this feature
>> (otherwise retain old behavior).
>> Probably, we don't need to turn it on on Solaris.
>>
>> Hans -
>> what do you think?
>>

> I wonder whether the right solution here isn't to replace the
> GET_MEM mechanism by an indirect function call, and to allow clients
> with unusual requirements or constraints to replace it.

That seems like an elegant solution.

Andrew.


More information about the Gc mailing list