aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/amcss.c
diff options
context:
space:
mode:
Diffstat (limited to 'mps/code/amcss.c')
-rw-r--r--mps/code/amcss.c16
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);