vm: remove debug messages
parent
e28580dd0f
commit
b2d96e5ef1
|
@ -155,10 +155,7 @@ void factor_vm::gc(gc_op op, cell requested_bytes, bool trace_contexts_p)
|
||||||
if(current_gc->op == collect_aging_op || current_gc->op == collect_to_tenured_op)
|
if(current_gc->op == collect_aging_op || current_gc->op == collect_to_tenured_op)
|
||||||
{
|
{
|
||||||
if(data->tenured->free_space() <= data->nursery->size + data->aging->size)
|
if(data->tenured->free_space() <= data->nursery->size + data->aging->size)
|
||||||
{
|
|
||||||
printf("upgrade\n");
|
|
||||||
current_gc->op = collect_full_op;
|
current_gc->op = collect_full_op;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
current_gc->event->op = current_gc->op;
|
current_gc->event->op = current_gc->op;
|
||||||
|
@ -178,10 +175,7 @@ void factor_vm::gc(gc_op op, cell requested_bytes, bool trace_contexts_p)
|
||||||
collect_mark_impl(trace_contexts_p);
|
collect_mark_impl(trace_contexts_p);
|
||||||
collect_sweep_impl();
|
collect_sweep_impl();
|
||||||
if(data->tenured->largest_free_block() <= data->nursery->size + data->aging->size)
|
if(data->tenured->largest_free_block() <= data->nursery->size + data->aging->size)
|
||||||
{
|
|
||||||
printf("forced compaction\n");
|
|
||||||
collect_compact_impl(trace_contexts_p);
|
collect_compact_impl(trace_contexts_p);
|
||||||
}
|
|
||||||
else
|
else
|
||||||
update_code_heap_words_and_literals();
|
update_code_heap_words_and_literals();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue