if we have many embedded calls to nb_queue, make sure we don't allocate a lot of memory for each one.

This commit is contained in:
Vitor Santos Costa
2009-02-27 00:31:29 +00:00
parent 51875c627a
commit 48eaa975f2
5 changed files with 18 additions and 6 deletions

View File

@@ -172,9 +172,6 @@ low_level_trace(yap_low_level_port port, PredEntry *pred, CELL *args)
LOCK(Yap_heap_regs->low_level_trace_lock);
sc = Yap_heap_regs;
vsc_count++;
if (vsc_count == 231868LL)
jmp_deb(1);
return;
#ifdef THREADS
Yap_heap_regs->thread_handle[worker_id].thread_inst_count++;
#endif