[BACK]Return to malloc.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gc

Diff for /OpenXM_contrib/gc/Attic/malloc.c between version 1.1.1.1 and 1.1.1.3

version 1.1.1.1, 1999/11/27 10:58:32 version 1.1.1.3, 2000/12/01 14:48:25
Line 81  register ptr_t *opp;
Line 81  register ptr_t *opp;
         /* but that's benign.                           */          /* but that's benign.                           */
         /* Volatile declarations may need to be added   */          /* Volatile declarations may need to be added   */
         /* to prevent the compiler from breaking things.*/          /* to prevent the compiler from breaking things.*/
           /* If we only execute the second of the         */
           /* following assignments, we lose the free      */
           /* list, but that should still be OK, at least  */
           /* for garbage collected memory.                */
         *opp = obj_link(op);          *opp = obj_link(op);
         obj_link(op) = 0;          obj_link(op) = 0;
     } else {      } else {
Line 93  register ptr_t *opp;
Line 97  register ptr_t *opp;
           if(GC_incremental && !GC_dont_gc)            if(GC_incremental && !GC_dont_gc)
                 GC_collect_a_little_inner((int)n_blocks);                  GC_collect_a_little_inner((int)n_blocks);
         lw = ROUNDED_UP_WORDS(lb);          lw = ROUNDED_UP_WORDS(lb);
         while ((h = GC_allochblk(lw, k, 0)) == 0          h = GC_allochblk(lw, k, 0);
                 && GC_collect_or_expand(n_blocks, FALSE));  #       ifdef USE_MUNMAP
             if (0 == h) {
               GC_merge_unmapped();
               h = GC_allochblk(lw, k, 0);
             }
   #       endif
           while (0 == h && GC_collect_or_expand(n_blocks, FALSE)) {
             h = GC_allochblk(lw, k, 0);
           }
         if (h == 0) {          if (h == 0) {
             op = 0;              op = 0;
         } else {          } else {

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>