|
From: <sv...@va...> - 2005-10-20 00:31:36
|
Author: sewardj
Date: 2005-10-20 01:31:31 +0100 (Thu, 20 Oct 2005)
New Revision: 4954
Log:
In the spirit of other changes over the past month aimed at supporting
monster-sized programs better, increase the default freelist volume
from 1M to 5M. Maybe even that is too small.
Modified:
trunk/docs/valgrind.1
trunk/memcheck/docs/mc-manual.xml
trunk/memcheck/mac_shared.c
Modified: trunk/docs/valgrind.1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/docs/valgrind.1 2005-10-20 00:30:30 UTC (rev 4953)
+++ trunk/docs/valgrind.1 2005-10-20 00:31:31 UTC (rev 4954)
@@ -308,7 +308,7 @@
=20
.TP
.B
---freelist-vol=3D<number> [default: 1000000]
+--freelist-vol=3D<number> [default: 5000000]
When the client program releases memory using free (in C) or delete
(C++), that memory is not immediately made available for re-allocation.
Instead it is marked inaccessible and placed in a queue of freed blocks.
Modified: trunk/memcheck/docs/mc-manual.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/docs/mc-manual.xml 2005-10-20 00:30:30 UTC (rev 4953)
+++ trunk/memcheck/docs/mc-manual.xml 2005-10-20 00:31:31 UTC (rev 4954)
@@ -120,7 +120,7 @@
=20
<listitem id=3D"freelist">
<para><computeroutput>--freelist-vol=3D<number></computeroutput>
- [default: 1000000]</para>
+ [default: 5000000]</para>
<para>When the client program releases memory using free (in
<literal>C</literal>) or delete (<literal>C++</literal>),
that memory is not immediately made available for
Modified: trunk/memcheck/mac_shared.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/mac_shared.c 2005-10-20 00:30:30 UTC (rev 4953)
+++ trunk/memcheck/mac_shared.c 2005-10-20 00:31:31 UTC (rev 4954)
@@ -59,7 +59,7 @@
/*------------------------------------------------------------*/
=20
Bool MAC_(clo_partial_loads_ok) =3D True;
-Int MAC_(clo_freelist_vol) =3D 1000000;
+Int MAC_(clo_freelist_vol) =3D 5000000;
LeakCheckMode MAC_(clo_leak_check) =3D LC_Summary;
VgRes MAC_(clo_leak_resolution) =3D Vg_LowRes;
Bool MAC_(clo_show_reachable) =3D False;
@@ -101,7 +101,7 @@
" --leak-resolution=3Dlow|med|high how much bt merging in leak chec=
k [low]\n"
" --show-reachable=3Dno|yes show reachable blocks in leak ch=
eck? [no]\n"
" --partial-loads-ok=3Dno|yes too hard to explain here; see ma=
nual [yes]\n"
-" --freelist-vol=3D<number> volume of freed blocks queue [10=
00000]\n"
+" --freelist-vol=3D<number> volume of freed blocks queue [50=
00000]\n"
" --workaround-gcc296-bugs=3Dno|yes self explanatory [no]\n"
);
VG_(replacement_malloc_print_usage)();
|