Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/src/runtime/gc/init-gc.c
ViewVC logotype

Diff of /sml/trunk/src/runtime/gc/init-gc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 651, Thu Jun 1 18:34:03 2000 UTC revision 1241, Tue Jun 11 18:50:06 2002 UTC
# Line 159  Line 159 
159          if (i == 0)          if (i == 0)
160              max_sz = MAX_SZ1(params->allocSz * MAX_NUM_PROCS);              max_sz = MAX_SZ1(params->allocSz * MAX_NUM_PROCS);
161          else          else
162  /** NOTE: the following is bogus **/              max_sz = heap->gen[i-1]->arena[0]->maxSizeB;
             max_sz = (ratio * heap->gen[i-1]->arena[0]->maxSizeB) / 2;  
163          gen             =          gen             =
164          heap->gen[i]    = NEW_OBJ(gen_t);          heap->gen[i]    = NEW_OBJ(gen_t);
165          gen->heap       = heap;          gen->heap       = heap;

Legend:
Removed from v.651  
changed lines
  Added in v.1241

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0