diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-08-07 00:00:31 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-08-07 00:00:31 +0900 |
| commit | f42e6287b8cdde8f8320378d953c26273da6958e (patch) | |
| tree | a81b2dfdb8f6cf985f2b2cc6267a0ffa9dd3ccec | |
| parent | 62776e8940cd969a20d7afe6dd36af565d6033b1 (diff) | |
| parent | 5eb3a8caa622d4d41cbc785bf96530a3f641f2f5 (diff) | |
| download | mruby-f42e6287b8cdde8f8320378d953c26273da6958e.tar.gz mruby-f42e6287b8cdde8f8320378d953c26273da6958e.zip | |
Merge pull request #2513 from suzukaze/refactor-gc
Refactor incremental_sweep_phase() in gc.c
| -rw-r--r-- | src/gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -863,7 +863,7 @@ incremental_sweep_phase(mrb_state *mrb, size_t limit) RVALUE *e = p + MRB_HEAP_PAGE_SIZE; size_t freed = 0; mrb_bool dead_slot = TRUE; - int full = (page->freelist == NULL); + mrb_bool full = (page->freelist == NULL); if (is_minor_gc(mrb) && page->old) { /* skip a slot which doesn't contain any young object */ |
