diff options
author | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2018-06-27 10:31:29 +0300 |
---|---|---|
committer | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2018-06-27 10:31:29 +0300 |
commit | 4168ee3a503f716076ae1c182952c44289fdc5a0 (patch) | |
tree | e2a59f7cc66bbe5ddb1729fa2ed8bc6aaf3a9fd0 /includes/rts | |
parent | 3d002087dce9c61932dd17047902baa83581f4df (diff) | |
download | haskell-4168ee3a503f716076ae1c182952c44289fdc5a0.tar.gz |
rts: Update some comments, minor refactoring
Diffstat (limited to 'includes/rts')
-rw-r--r-- | includes/rts/storage/GC.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/rts/storage/GC.h b/includes/rts/storage/GC.h index d4182dd7f9..1571975852 100644 --- a/includes/rts/storage/GC.h +++ b/includes/rts/storage/GC.h @@ -109,7 +109,12 @@ typedef struct generation_ { memcount n_compact_blocks_in_import; // no. of blocks used by compacts // being imported - memcount max_blocks; // max blocks + // Max blocks to allocate in this generation before collecting it. Collect + // this generation when + // + // n_blocks + n_large_blocks + n_compact_blocks > max_blocks + // + memcount max_blocks; StgTSO * threads; // threads in this gen // linked via global_link |