Re: [Gc] Allocating Executable Memory
ivmai at mail.ru
Tue Jul 27 12:53:30 PDT 2010
Tue, 27 Jul 2010 08:27:50 +0100 Andrew Haley <aph at redhat.com>:
> 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.
If I see correctly, we also need to replace munmap and mprotect, right?
> That seems like an elegant solution.
More information about the Gc