diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-07-24 07:15:20 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-07-24 07:15:20 -0700 |
| commit | 342bb66d6abf7d89ccdcc0c97519db8f0c1c0197 (patch) | |
| tree | 942d16a33292858cfa0178127e517d4718cf00f1 /include | |
| parent | 2b6606f5e4e16a34e3cc94fae6a594ba738f0086 (diff) | |
| parent | 7bfdcace527f763055481727011bb8d172297f04 (diff) | |
| download | mruby-342bb66d6abf7d89ccdcc0c97519db8f0c1c0197.tar.gz mruby-342bb66d6abf7d89ccdcc0c97519db8f0c1c0197.zip | |
Merge pull request #1406 from Fleurer/gc-mark-gray-list
introduce gc_mark_gray_list(), and cleanup redundant code with it
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mruby.h b/include/mruby.h index 85b464b8e..ba9bbf58d 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -134,8 +134,8 @@ typedef struct mrb_state { enum gc_state gc_state; /* state of gc */ int current_white_part; /* make white object by white_part */ - struct RBasic *gray_list; /* list of gray objects */ - struct RBasic *variable_gray_list; /* list of objects to be traversed atomically */ + struct RBasic *gray_list; /* list of gray objects to be traversed incrementally */ + struct RBasic *atomic_gray_list; /* list of objects to be traversed atomically */ size_t gc_live_after_mark; size_t gc_threshold; int gc_interval_ratio; |
