From: Julian Seward Date: Mon, 10 Jan 2011 15:01:03 +0000 (+0000) Subject: Memcheck, None: update avg translation size to be more realistic. X-Git-Tag: svn/VALGRIND_3_7_0~709 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1852adcac05311d166fb35c0e0864a249fc0bf1a;p=thirdparty%2Fvalgrind.git Memcheck, None: update avg translation size to be more realistic. Massif: specify avg translation size at all, so as to avoid excessive retranslations caused by the fact that the default value is far below reality for Massif. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11494 --- diff --git a/coregrind/m_transtab.c b/coregrind/m_transtab.c index 4a1547f18d..ba6940f1d8 100644 --- a/coregrind/m_transtab.c +++ b/coregrind/m_transtab.c @@ -1556,7 +1556,7 @@ void VG_(init_tt_tc) ( void ) /* Ensure the calculated value is not way crazy. */ vg_assert(tc_sector_szQ >= 2 * N_TTES_PER_SECTOR_USABLE); - vg_assert(tc_sector_szQ <= 80 * N_TTES_PER_SECTOR_USABLE); + vg_assert(tc_sector_szQ <= 100 * N_TTES_PER_SECTOR_USABLE); /* Initialise the sectors */ youngest_sector = 0; diff --git a/massif/ms_main.c b/massif/ms_main.c index f7122ae918..acf8d449a0 100644 --- a/massif/ms_main.c +++ b/massif/ms_main.c @@ -2491,6 +2491,8 @@ static void ms_pre_clo_init(void) "Copyright (C) 2003-2010, and GNU GPL'd, by Nicholas Nethercote"); VG_(details_bug_reports_to) (VG_BUGS_TO); + VG_(details_avg_translation_sizeB) ( 330 ); + // Basic functions. VG_(basic_tool_funcs) (ms_post_clo_init, ms_instrument, diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c index cf7a0212cc..f62ad47d1c 100644 --- a/memcheck/mc_main.c +++ b/memcheck/mc_main.c @@ -5788,7 +5788,7 @@ static void mc_pre_clo_init(void) VG_(details_copyright_author)( "Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al."); VG_(details_bug_reports_to) (VG_BUGS_TO); - VG_(details_avg_translation_sizeB) ( 556 ); + VG_(details_avg_translation_sizeB) ( 640 ); VG_(basic_tool_funcs) (mc_post_clo_init, MC_(instrument), diff --git a/none/nl_main.c b/none/nl_main.c index ab6c6e8e1f..05719e5fe7 100644 --- a/none/nl_main.c +++ b/none/nl_main.c @@ -58,6 +58,8 @@ static void nl_pre_clo_init(void) "Copyright (C) 2002-2010, and GNU GPL'd, by Nicholas Nethercote."); VG_(details_bug_reports_to) (VG_BUGS_TO); + VG_(details_avg_translation_sizeB) ( 275 ); + VG_(basic_tool_funcs) (nl_post_clo_init, nl_instrument, nl_fini);