Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: scripts/limits.patch

Issue 6821070: Remove unused .patch files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/valgrind/
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « scripts/intercept_tcmalloc.patch ('k') | scripts/possible.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Index: include/pub_tool_threadstate.h
2 ===================================================================
3 --- include/pub_tool_threadstate.h (revision 11055)
4 +++ include/pub_tool_threadstate.h (working copy)
5 @@ -36,7 +36,11 @@
6 scheduler algorithms is surely O(N) in the number of threads, since
7 that's simple, at least. And (in practice) we hope that most
8 programs do not need many threads. */
9 +#if defined(VGO_darwin)
10 #define VG_N_THREADS 500
11 +#else
12 +#define VG_N_THREADS 10000
13 +#endif
14
15 /* Special magic value for an invalid ThreadId. It corresponds to
16 LinuxThreads using zero as the initial value for
17 Index: coregrind/m_aspacemgr/aspacemgr-linux.c
18 ===================================================================
19 --- coregrind/m_aspacemgr/aspacemgr-linux.c (revision 11055)
20 +++ coregrind/m_aspacemgr/aspacemgr-linux.c (working copy)
21 @@ -265,10 +265,18 @@
22 /* ------ start of STATE for the address-space manager ------ */
23
24 /* Max number of segments we can track. */
25 +#if defined(VGO_darwin)
26 #define VG_N_SEGMENTS 5000
27 +#else
28 +#define VG_N_SEGMENTS 100000
29 +#endif
30
31 /* Max number of segment file names we can track. */
32 +#if defined(VGO_darwin)
33 #define VG_N_SEGNAMES 1000
34 +#else
35 +#define VG_N_SEGNAMES 100000
36 +#endif
37
38 /* Max length of a segment file name. */
39 #define VG_MAX_SEGNAMELEN 1000
OLDNEW
« no previous file with comments | « scripts/intercept_tcmalloc.patch ('k') | scripts/possible.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698