diff options
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2007-11-30 17:19:36 +0000 |
---|---|---|
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2007-11-30 17:19:36 +0000 |
commit | fa4ca3bd2c6ccbbe47adffc55c2b0f663f0b48e8 (patch) | |
tree | 13782f7e7b5516dd7b4cd3bb7903300f5c56def2 /memcheck/mc_main.c | |
parent | f707b108603ee1da93fea880d05a635055179163 (diff) |
Make the freed-block-queue volume metrics 64-bit throughout, to avoid
any wierdness on very large machines in the future. Also, double the
default size from 5MB to 10MB, on the basis that programs are now on
average twice as lardy as they were when it was set to 5MB, whenever
that was.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7256 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'memcheck/mc_main.c')
-rw-r--r-- | memcheck/mc_main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c index bc9f2e7a..b24039c9 100644 --- a/memcheck/mc_main.c +++ b/memcheck/mc_main.c @@ -4367,7 +4367,7 @@ static Bool mc_expensive_sanity_check ( void ) /*------------------------------------------------------------*/ Bool MC_(clo_partial_loads_ok) = False; -SSizeT MC_(clo_freelist_vol) = 5000000; +Long MC_(clo_freelist_vol) = 10*1000*1000LL; LeakCheckMode MC_(clo_leak_check) = LC_Summary; VgRes MC_(clo_leak_resolution) = Vg_LowRes; Bool MC_(clo_show_reachable) = False; @@ -4382,7 +4382,8 @@ static Bool mc_process_cmd_line_options(Char* arg) else VG_BOOL_CLO(arg, "--undef-value-errors", MC_(clo_undef_value_errors)) - else VG_BNUM_CLO(arg, "--freelist-vol", MC_(clo_freelist_vol), 0, 1000000000) + else VG_BNUM_CLO(arg, "--freelist-vol", MC_(clo_freelist_vol), + 0, 10*1000*1000*1000LL) else if (VG_CLO_STREQ(arg, "--leak-check=no")) MC_(clo_leak_check) = LC_Off; @@ -4442,7 +4443,7 @@ static void mc_print_usage(void) " --show-reachable=no|yes show reachable blocks in leak check? [no]\n" " --undef-value-errors=no|yes check for undefined value errors [yes]\n" " --partial-loads-ok=no|yes too hard to explain here; see manual [no]\n" -" --freelist-vol=<number> volume of freed blocks queue [5000000]\n" +" --freelist-vol=<number> volume of freed blocks queue [10000000]\n" " --workaround-gcc296-bugs=no|yes self explanatory [no]\n" " --ignore-ranges=0xPP-0xQQ[,0xRR-0xSS] assume given addresses are OK\n" ); |