]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Memcheck, None: update avg translation size to be more realistic.
authorJulian Seward <jseward@acm.org>
Mon, 10 Jan 2011 15:01:03 +0000 (15:01 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 10 Jan 2011 15:01:03 +0000 (15:01 +0000)
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

coregrind/m_transtab.c
massif/ms_main.c
memcheck/mc_main.c
none/nl_main.c

index 4a1547f18d9b3a9b0348d365d7f59a407b783ad2..ba6940f1d81047a6d28e35c64eafa2279f5aaa86 100644 (file)
@@ -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;
index f7122ae9184d49a47876cb9d7b50e584b31faacd..acf8d449a0257c789cd55456008e58f29fb4438d 100644 (file)
@@ -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,
index cf7a0212ccdee3c2fb0859a15957faaaf002f89e..f62ad47d1c59c3a30f15799dfd2af50cdd920c32 100644 (file)
@@ -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),
index ab6c6e8e1f04812289f3374394cc484967d0d719..05719e5fe77f84ab80eff0fb9efa8d8776b5b390 100644 (file)
@@ -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);