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 1241, Tue Jun 11 18:50:06 2002 UTC revision 1247, Mon Jun 17 20:32:12 2002 UTC
# Line 158  Line 158 
158          ratio = DfltRatios[i];          ratio = DfltRatios[i];
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              max_sz = heap->gen[i-1]->arena[0]->maxSizeB;              max_sz = (5*max_sz)/2;
163                if (max_sz > 64*ONE_MEG) max_sz = 64*ONE_MEG;
164            }
165          gen             =          gen             =
166          heap->gen[i]    = NEW_OBJ(gen_t);          heap->gen[i]    = NEW_OBJ(gen_t);
167          gen->heap       = heap;          gen->heap       = heap;

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

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