summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorNarihiro Nakamura <[email protected]>2013-01-07 01:47:21 +0900
committerNarihiro Nakamura <[email protected]>2013-01-07 01:47:21 +0900
commit5dfefb95dfa2099fd748283f09506d009a32fe05 (patch)
treef1e7371a795332cbc5113fff93950f6776a1e473 /include
parent7872d2974d379975943fd8346cabf5198c3ee7d7 (diff)
downloadmruby-5dfefb95dfa2099fd748283f09506d009a32fe05.tar.gz
mruby-5dfefb95dfa2099fd748283f09506d009a32fe05.zip
Add the generational gc
Diffstat (limited to 'include')
-rw-r--r--include/mruby.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h
index 29cef451d..197961c86 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -122,6 +122,9 @@ typedef struct mrb_state {
int gc_interval_ratio;
int gc_step_ratio;
int gc_disabled;
+ int gc_full;
+ int is_generational_gc_mode;
+ size_t majorgc_old_threshold;
struct alloca_header *mems;
mrb_sym symidx;