This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/19823] java fails with non-executable memory
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Feb 2005 15:07:27 -0000
- Subject: [Bug libgcj/19823] java fails with non-executable memory
- References: <20050208143717.19823.matz@suse.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jakub at gcc dot gnu dot org 2005-02-14 15:07 -------
Is it desirable to have all memory allocated by the GC executable though?
I think libgcj always knows in advance what memory will it need executable,
so wouldn't it be better to provide separate allocation entrypoint
(I think void *GC_malloc_atomic_executable (size_t) would be enough)
that would be giving executable memory and otherwise you'd get non-executable
one (if OS allows that)?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19823