This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/19823] java fails with non-executable memory
- From: "aj at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 10 Feb 2005 06:11:16 -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 aj at gcc dot gnu dot org 2005-02-10 06:11 -------
I agree, the USE_MMAP is not global. I'm trying now the following patch to see
whether we're really on the right track:
============================================================
Index: boehm-gc/include/private/gcconfig.h
--- boehm-gc/include/private/gcconfig.h 13 Oct 2004 10:34:21 -0000 1.39
+++ boehm-gc/include/private/gcconfig.h 10 Feb 2005 06:08:42 -0000
@@ -1888,6 +1888,10 @@
# endif
# endif
+#if defined(LINUX)
+# define USE_MMAP
+#endif
+
#if defined(LINUX) && defined(USE_MMAP)
/* The kernel may do a somewhat better job merging mappings etc. */
/* with anonymous mappings.
*/
If you have a patch for sbrk usage, I can try that one also.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-02-10 06:11:14
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19823