X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2Frts%2Fstorage%2FGC.h;h=c412c96617322209667f589e4c52943ab2702943;hb=329077220af83860d5dd6891649cb1058b5bbaa6;hp=9616d72d51f00a44a41b74915034911546353988;hpb=f6ee1f315a7e7069b21a993fb058e00d06b73487;p=ghc-hetmet.git diff --git a/includes/rts/storage/GC.h b/includes/rts/storage/GC.h index 9616d72..c412c96 100644 --- a/includes/rts/storage/GC.h +++ b/includes/rts/storage/GC.h @@ -67,10 +67,10 @@ typedef struct generation_ { bdescr * large_objects; // large objects (doubly linked) unsigned int n_large_blocks; // no. of blocks used by large objs - unsigned int n_new_large_blocks; // count freshly allocated large objects + unsigned long n_new_large_words; // words of new large objects + // (for allocation stats) unsigned int max_blocks; // max blocks - bdescr *mut_list; // mut objects in this gen (not G0) StgTSO * threads; // threads in this gen // linked via global_link @@ -101,8 +101,6 @@ typedef struct generation_ { unsigned int n_old_blocks; // number of blocks in from-space unsigned int live_estimate; // for sweeping: estimate of live data - bdescr * saved_mut_list; - bdescr * part_blocks; // partially-full scanned blocks unsigned int n_part_blocks; // count of above @@ -154,7 +152,7 @@ void * allocateExec(unsigned int len, void **exec_addr); void freeExec (void *p); // Used by GC checks in external .cmm code: -extern nat alloc_blocks_lim; +extern nat large_alloc_lim; /* ----------------------------------------------------------------------------- Performing Garbage Collection