OLD | NEW |
| (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 | |
OLD | NEW |