diff options
| author | Gareth Rees | 2013-03-12 15:15:57 +0000 |
|---|---|---|
| committer | Gareth Rees | 2013-03-12 15:15:57 +0000 |
| commit | 2a65ff579e44f25e62db8a1618494f2fd5f67b32 (patch) | |
| tree | 4914b9e134a9a50c91e780e9c185eeed8da257e2 /mps/code | |
| parent | a5e6a6651196ce8c8d75bca9ae0a245e8195b667 (diff) | |
| download | emacs-2a65ff579e44f25e62db8a1618494f2fd5f67b32.tar.gz emacs-2a65ff579e44f25e62db8a1618494f2fd5f67b32.zip | |
Comment out all calls to mps_arena_commit_limit_set in test case amcsshe. (this test case formerly set the commit limit "in the hope of getting one dynamic collection", but this was unreliable: see job003440 for details.)
Copied from Perforce
Change: 181122
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code')
| -rw-r--r-- | mps/code/amcss.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/mps/code/amcss.c b/mps/code/amcss.c index d51756dc24e..ee91223660f 100644 --- a/mps/code/amcss.c +++ b/mps/code/amcss.c | |||
| @@ -83,9 +83,13 @@ static void report(mps_arena_t arena) | |||
| 83 | if(condemned > (gen1SIZE + gen2SIZE + (size_t)128) * 1024) { | 83 | if(condemned > (gen1SIZE + gen2SIZE + (size_t)128) * 1024) { |
| 84 | /* When condemned size is larger than could happen in a gen 2 | 84 | /* When condemned size is larger than could happen in a gen 2 |
| 85 | * collection (discounting ramps, natch), guess that was a dynamic | 85 | * collection (discounting ramps, natch), guess that was a dynamic |
| 86 | * collection, and reset the commit limit, so it doesn't run out. */ | 86 | * collection, and reset the commit limit, so it doesn't run out. |
| 87 | die(mps_arena_commit_limit_set(arena, 2 * testArenaSIZE), | 87 | * |
| 88 | "set limit"); | 88 | * GDR 2013-03-12: Fiddling with the commit limit was causing |
| 89 | * the test to fail sometimes (see job003440), so I've commented | ||
| 90 | * out this feature. | ||
| 91 | */ | ||
| 92 | /* die(mps_arena_commit_limit_set(arena, 2 * testArenaSIZE), "set limit"); */ | ||
| 89 | } | 93 | } |
| 90 | 94 | ||
| 91 | } else { | 95 | } else { |
| @@ -306,7 +310,11 @@ int main(int argc, char *argv[]) | |||
| 306 | "arena_create"); | 310 | "arena_create"); |
| 307 | mps_message_type_enable(arena, mps_message_type_gc()); | 311 | mps_message_type_enable(arena, mps_message_type_gc()); |
| 308 | mps_message_type_enable(arena, mps_message_type_gc_start()); | 312 | mps_message_type_enable(arena, mps_message_type_gc_start()); |
| 309 | die(mps_arena_commit_limit_set(arena, testArenaSIZE), "set limit"); | 313 | /* GDR 2013-03-12: Fiddling with the commit limit was causing |
| 314 | * the test to fail sometimes (see job003440), so I've commented | ||
| 315 | * out this feature. | ||
| 316 | */ | ||
| 317 | /*die(mps_arena_commit_limit_set(arena, testArenaSIZE), "set limit");*/ | ||
| 310 | die(mps_thread_reg(&thread, arena), "thread_reg"); | 318 | die(mps_thread_reg(&thread, arena), "thread_reg"); |
| 311 | test(arena); | 319 | test(arena); |
| 312 | mps_thread_dereg(thread); | 320 | mps_thread_dereg(thread); |