This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/19823] java fails with non-executable memory


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]