~ubuntu-branches/ubuntu/intrepid/ecl/intrepid

« back to all changes in this revision

Viewing changes to src/gc/alloc.c

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde
  • Date: 2006-06-21 09:21:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060621092121-txz1f21lj0wh0f67
Tags: 0.9h-20060617-1
* New upstream version
* Updated standards version without real changes. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
206
206
        /* had been reallocated this round. Finalization is user        */
207
207
        /* visible progress.  And if we don't count this, we have       */
208
208
        /* stability problems for programs that finalize all objects.   */
209
 
    if ((GC_words_wasted >> 3) < result)
 
209
    if ((signed_word)(GC_words_wasted >> 3) < result)
210
210
        result += GC_words_wasted;
211
211
        /* This doesn't reflect useful work.  But if there is lots of   */
212
212
        /* new fragmentation, the same is probably true of the heap,    */
402
402
/*
403
403
 * Perform n units of garbage collection work.  A unit is intended to touch
404
404
 * roughly GC_RATE pages.  Every once in a while, we do more than that.
405
 
 * This needa to be a fairly large number with our current incremental
 
405
 * This needs to be a fairly large number with our current incremental
406
406
 * GC strategy, since otherwise we allocate too much during GC, and the
407
407
 * cleanup gets expensive.
408
408
 */