dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] pnet ChangeLog libgc/configure.in


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnet ChangeLog libgc/configure.in
Date: Fri, 06 Apr 2007 07:05:35 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnet
Changes by:     Klaus Treichel <ktreichel>      07/04/06 07:05:34

Modified files:
        .              : ChangeLog 
        libgc          : configure.in 

Log message:
        Add configure option --enable-munmap to configure of libgc.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnet/ChangeLog?cvsroot=dotgnu-pnet&r1=1.3444&r2=1.3445
http://cvs.savannah.gnu.org/viewcvs/pnet/libgc/configure.in?cvsroot=dotgnu-pnet&r1=1.10&r2=1.11

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.3444
retrieving revision 1.3445
diff -u -b -r1.3444 -r1.3445
--- ChangeLog   3 Apr 2007 07:47:09 -0000       1.3444
+++ ChangeLog   6 Apr 2007 07:05:34 -0000       1.3445
@@ -1,3 +1,9 @@
+2007-04-06  Klaus Treichel  <address@hidden>
+
+       * libgc/configure.in: Add configure option --enable-munmap to enable
+       returning unused memory to the os. This option enables the usage off 
mmap
+       too and can't be used on platforms where mmap is not available.
+
 2007-04-03  Radek Polak  <address@hidden>
 
        * engine/jitc.h: Removed unused define.

Index: libgc/configure.in
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/libgc/configure.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- libgc/configure.in  5 Nov 2006 18:49:52 -0000       1.10
+++ libgc/configure.in  6 Apr 2007 07:05:34 -0000       1.11
@@ -22,7 +22,7 @@
 AC_CONFIG_SRCDIR(gcj_mlc.c)
 AC_CANONICAL_TARGET 
 AC_PREREQ(2.53)
-AC_REVISION($Revision: 1.10 $)
+AC_REVISION($Revision: 1.11 $)
 GC_SET_VERSION
 AM_INIT_AUTOMAKE
 
@@ -67,6 +67,10 @@
 [  --enable-cplusplus          install C++ support],
 )
 
+AC_ARG_ENABLE(munmap,
+[  --enable-munmap             enable returning freed memory to the os],
+)
+
 INCLUDES=-I${srcdir}/include
 THREADDLLIBS=
 ## Libraries needed to support dynamic loading and/or threads.
@@ -264,6 +268,11 @@
       addtests="$addtests test_cpp"
 fi
 
+if test "${enable_munmap}" = yes; then
+      AC_DEFINE(USE_MMAP)
+      AC_DEFINE(USE_MUNMAP)
+fi
+
 AM_CONDITIONAL(CPLUSPLUS, test "${enable_cplusplus}" = yes)
 
 AC_SUBST(CXX)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]